gogs readme comments
This commit is contained in:
parent
1918b93de7
commit
9d9a0844dd
|
@ -6815,7 +6815,13 @@ function install_gogs {
|
||||||
echo 'After the initial install edit /home/git/go/src/github.com/gogits/gogs/custom/conf/app.ini' >> /home/$MY_USERNAME/README
|
echo 'After the initial install edit /home/git/go/src/github.com/gogits/gogs/custom/conf/app.ini' >> /home/$MY_USERNAME/README
|
||||||
echo 'and within the [server] section set:' >> /home/$MY_USERNAME/README
|
echo 'and within the [server] section set:' >> /home/$MY_USERNAME/README
|
||||||
echo " DOMAIN = $GIT_DOMAIN_NAME" >> /home/$MY_USERNAME/README
|
echo " DOMAIN = $GIT_DOMAIN_NAME" >> /home/$MY_USERNAME/README
|
||||||
echo "ROOT_URL = https://$GIT_DOMAIN_NAME/" >> /home/$MY_USERNAME/README
|
echo " ROOT_URL = http://$GIT_DOMAIN_NAME/" >> /home/$MY_USERNAME/README
|
||||||
|
echo " SSH_PORT = $SSH_PORT" >> /home/$MY_USERNAME/README
|
||||||
|
echo 'If you want to disable new account registrations then append the following:' >> /home/$MY_USERNAME/README
|
||||||
|
echo ' [service]' >> /home/$MY_USERNAME/README
|
||||||
|
echo ' DISABLE_REGISTRATION = true' >> /home/$MY_USERNAME/README
|
||||||
|
echo 'Then restart with:' >> /home/$MY_USERNAME/README
|
||||||
|
echo ' systemctl restart gogs' >> /home/$MY_USERNAME/README
|
||||||
echo '' >> /home/$MY_USERNAME/README
|
echo '' >> /home/$MY_USERNAME/README
|
||||||
echo "Note that there's a usability/security trade-off made here." >> /home/$MY_USERNAME/README
|
echo "Note that there's a usability/security trade-off made here." >> /home/$MY_USERNAME/README
|
||||||
echo "In order to allow git clone via http we don't redirect everything" >> /home/$MY_USERNAME/README
|
echo "In order to allow git clone via http we don't redirect everything" >> /home/$MY_USERNAME/README
|
||||||
|
|
Loading…
Reference in New Issue