FreeBSD
This commit is contained in:
@@ -37,3 +37,32 @@ Inside the jail, install Gitea and its dependencies
|
||||
pkg update
|
||||
pkg install gitea git nano
|
||||
```
|
||||
|
||||
Enable Gitea to start on boot
|
||||
|
||||
``` sh
|
||||
sysrc gitea_enable="YES"
|
||||
```
|
||||
|
||||
Create the Gitea configuration directory
|
||||
|
||||
``` sh
|
||||
mkdir -p /usr/local/etc/gitea
|
||||
```
|
||||
|
||||
Start Gitea for the first time
|
||||
|
||||
``` sh
|
||||
service gitea start
|
||||
```
|
||||
|
||||
Exit the container
|
||||
|
||||
``` sh
|
||||
exit
|
||||
```
|
||||
|
||||
From your host system or another machine on the network, access Gitea's web interface:
|
||||
|
||||
``` text
|
||||
http://<IP-ADDRESS:3000>
|
||||
|
||||
Reference in New Issue
Block a user