Update to v1.4.0

Update to v1.4.0 and show customization notes.
This commit is contained in:
AJ ONeal 2018-03-26 06:48:25 +00:00
parent a86e981db5
commit b9307b6531

View File

@ -1,5 +1,7 @@
#!/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
# or
# 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
# 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
# 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
sudo systemctl restart gitea
echo ""
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"