Update to v1.4.0
Update to v1.4.0 and show customization notes.
This commit is contained in:
parent
a86e981db5
commit
b9307b6531
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
VER=1.4.0
|
||||||
|
|
||||||
# wget -O install-gitea.bash https://git.coolaj86.com/coolaj86/gitea-installer/raw/master/install.bash; bash install-gitea.bash
|
# wget -O install-gitea.bash https://git.coolaj86.com/coolaj86/gitea-installer/raw/master/install.bash; bash install-gitea.bash
|
||||||
# or
|
# or
|
||||||
# wget -O - https://git.coolaj86.com/coolaj86/gitea-installer/raw/master/install.bash | bash
|
# wget -O - https://git.coolaj86.com/coolaj86/gitea-installer/raw/master/install.bash | bash
|
||||||
|
@ -12,7 +14,7 @@ sudo mkdir -p /opt/gitea/ /var/log/gitea
|
||||||
sudo chown -R gitea:gitea /opt/gitea/ /var/log/gitea
|
sudo chown -R gitea:gitea /opt/gitea/ /var/log/gitea
|
||||||
|
|
||||||
# Download and install gitea
|
# Download and install gitea
|
||||||
sudo wget -O /opt/gitea/gitea https://dl.gitea.io/gitea/1.0.1/gitea-1.0.1-linux-amd64
|
sudo wget -O "/opt/gitea/gitea https://dl.gitea.io/gitea/$VER/gitea-$VER-linux-amd64"
|
||||||
sudo chmod +x /opt/gitea/gitea
|
sudo chmod +x /opt/gitea/gitea
|
||||||
|
|
||||||
# Download and install the gitea.service for systemd
|
# Download and install the gitea.service for systemd
|
||||||
|
@ -21,4 +23,9 @@ sudo wget -O /etc/systemd/system/gitea.service https://git.coolaj86.com/coolaj86
|
||||||
# Start gitea
|
# Start gitea
|
||||||
sudo systemctl restart gitea
|
sudo systemctl restart gitea
|
||||||
|
|
||||||
|
echo ""
|
||||||
echo "Please visit http://localhost:3000/ now to finish installing gitea"
|
echo "Please visit http://localhost:3000/ now to finish installing gitea"
|
||||||
|
echo ""
|
||||||
|
echo "You may customize gitea"
|
||||||
|
echo " templates can be seen at https://github.com/go-gitea/gitea/tree/v$VER/templates"
|
||||||
|
echo " app.ini.sample can be seen at https://github.com/go-gitea/gitea/blob/v$VER/custom/conf/app.ini.sample"
|
||||||
|
|
Loading…
Reference in New Issue