Difference between revisions of "Gogs"
From Jon's Wiki
Line 17: | Line 17: | ||
} | } | ||
− | Then set it up with a PostgreSQL database (or MySQL if you have to) and whatever else: | + | Then set it up with a PostgreSQL database (or MySQL if you have to) and whatever else, have a look at the [https://gogs.io/docs/advanced/configuration_cheat_sheet configuration docs] for reference: |
sudo vi /etc/gogs/conf/app.ini | sudo vi /etc/gogs/conf/app.ini |
Revision as of 22:38, 5 April 2016
Get the packager.io auto-build package repo and install gogs:
apt-get install gogs
Point nginx at it:
server { listen yourip:80; access_log /var/log/gogs/access.log; error_log /var/log/gogs/error.log; server_name git.youroutfit.com;
proxy_set_header X-Real-IP $remote_addr; location / { proxy_pass http://localhost:3000; } }
Then set it up with a PostgreSQL database (or MySQL if you have to) and whatever else, have a look at the configuration docs for reference:
sudo vi /etc/gogs/conf/app.ini