Skip to content

Instantly share code, notes, and snippets.

@pschichtel
Forked from thanhhh/Redmine installation
Last active December 20, 2015 00:39
Show Gist options
  • Save pschichtel/6043159 to your computer and use it in GitHub Desktop.
Save pschichtel/6043159 to your computer and use it in GitHub Desktop.
How to configuration Redmine with puma and running on nginx (based on Gitlab's installation)
Add config/puma.ruby
--------------------
cd /home/redmine/redmine
sudo -u redmine -H curl --output config/puma.rb https://gist.github.com/quickwango/6043161/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/quickwango/6043167/raw/fe35c2a55f616938e2a55586da43749315b49f5b/redmine
sudo chmod +x /etc/init.d/redmine
Make Redmine start on boot:
sudo update-rc.d redmine defaults 21
Nginx - add config 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