forgejo
This commit is contained in:
parent
0a783fcdac
commit
fe1a009619
2 changed files with 59 additions and 0 deletions
|
@ -27,6 +27,7 @@ RTFD
|
|||
public/fcgiwrap/index
|
||||
public/ffmpeg/index
|
||||
public/firefox/index
|
||||
public/forgejo/index
|
||||
public/git/index
|
||||
public/git-bash/index
|
||||
public/gitlab-ci/index
|
||||
|
|
58
rtfd/public/forgejo/index.rst
Normal file
58
rtfd/public/forgejo/index.rst
Normal file
|
@ -0,0 +1,58 @@
|
|||
*******
|
||||
Forgejo
|
||||
*******
|
||||
|
||||
Packages
|
||||
========
|
||||
|
||||
* git
|
||||
* git-lfs
|
||||
|
||||
Users
|
||||
=====
|
||||
|
||||
.. code-block::
|
||||
|
||||
adduser \
|
||||
--disabled-password \
|
||||
--group \
|
||||
--home '/home/git' \
|
||||
--shell '/usr/bin/bash' \
|
||||
--system \
|
||||
git
|
||||
|
||||
Files
|
||||
=====
|
||||
|
||||
* /etc/systemd/system/forgejo.service
|
||||
* /usr/local/bin/forgejo
|
||||
|
||||
Config
|
||||
======
|
||||
|
||||
.. code-block::
|
||||
|
||||
mkdir '/etc/forgejo'
|
||||
chown root:git '/etc/forgejo'
|
||||
chmod 770 '/etc/forgejo'
|
||||
|
||||
Data
|
||||
====
|
||||
|
||||
.. code-block::
|
||||
|
||||
mkdir '/var/lib/forgejo'
|
||||
chown git:git '/var/lib/forgejo'
|
||||
chmod 750 '/var/lib/forgejo'
|
||||
|
||||
Enable
|
||||
======
|
||||
|
||||
.. code-block::
|
||||
|
||||
systemctl enable forgejo
|
||||
|
||||
Interface
|
||||
=========
|
||||
|
||||
* http://localhost:3000
|
Loading…
Reference in a new issue