*Update the changelog when deploying!
Deploy the application with Capistrano (Obsolete)
- cd into the root dir of your chf-sufia repository
...
Our cap recipe will automatically send a slack notification IF you set in your unix env, `export SLACK_NOTIFICATION_WEBHOOK=webhook`. Get webhook from someone.
Deploy with downtime
bundle exec cap staging maintenance:enable REASON="a test of maintenance mode" UNTIL="12pm Eastern Time"
- It'll read "The system is down for [REASON] It'll be back [UNTIL]"
- Deploy as usual / desired
- Do anything else needed on the server that required the downtime
bundle exec cap staging maintenance:disable
Set up Capistrano (first-time use)
Create an entry for the deploy user in your .ssh/config:
...