git add -A
git commit -m "Deploy Message"
git push origin master
cap production deploy
Restart the Nginx service: (after pushing new git stuff)
sudo service nginx restart
Tutorials:
- https://www.digitalocean.com/community/tutorials/how-to-connect-to-your-droplet-with-ssh#where-to-go-from-here?
- https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-14-04
- https://www.digitalocean.com/community/tutorials/deploying-a-rails-app-on-ubuntu-14-04-with-capistrano-nginx-and-puma