-
-
Save amondnet/efc724fad2c54c4c898e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add config/puma.ruby | |
-------------------- | |
cd /home/redmine/redmine | |
sudo -u redmine -H curl --output config/puma.rb https://gist.github.com/thanhhh/5610668/raw/fdfe2a865c3a0afe912c8784c971ea7ca3e64cfd/puma.rb | |
Install Init Script | |
-------------------- | |
Download the init script (will be /etc/init.d/redmine): | |
sudo curl --output /etc/init.d/redmine https://gist.github.com/thanhhh/5610675/raw/fe35c2a55f616938e2a55586da43749315b49f5b/redmine | |
sudo chmod +x /etc/init.d/redmine | |
Make Redmine start on boot: | |
sudo update-rc.d redmine defaults 21 | |
Nginx - add cofig to default side | |
--------------------------------- | |
sudo curl --output /etc/nginx/sites-available/redmine https://gist.github.com/thanhhh/5610742/raw/862ed543ba4a46611c72cf7f29b5671046d93857/gistfile1.txt | |
sudo ln -s /etc/nginx/sites-available/redmine /etc/nginx/sites-enabled/redmine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment