Rails App Deployment with the stack: Ubuntu + rbenv + nginx + unicorn
. It's based on the article by Ariejan de Vroom blog and I've adapted it where needed.
##Assumptions
- App: my_app
- deploy_path: /home/minuscode/deploy
- deployment user: minuscode
##Screen + SSH
First thing I like to do is to open up a screen session in the remote machine. The main commands you'll be needing are