Can anyone suggest a good good unicorn + nginx + cap deploy how to?
I have searched high and low spend like 5 hours getting my deploy up and running with all kind or errors.
Can anyone suggest a good good unicorn + nginx + cap deploy how to?
Share
Just yesterday I had to setup some Unicorns and nginx. I followed:
Also, here is my Unicorn config and init.d script: https://gist.github.com/2049606.
The deploy script I ended up using is almost identical to those mentioned in the links above. If you are using RVM, make sure you add something like:
A critical point is that you specify the PID files to be in the correct places (I mistyped that and it took me half an hour to find my mistake). Also make sure your user can write all necessary files.