Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 1.36 KB

DEPLOYMENT.md

File metadata and controls

31 lines (17 loc) · 1.36 KB

Notes About This File

Parts of this document may be out of date or reflect practices that are no longer relevant to the latest version of the Web App.

Please raise an issue if you hit any issues during deployment.

Run on a Local Machine

If you want to run a server on a LAN for personal use, this is the easiest and cheapest option.

Simplicity: ❤️ ❤️ ❤️

Reliability: 💔

Affordability: ❤️ ❤️ ❤️

  1. Follow the developer setup guide.

Deployment Using Heroku (best reliability)

Simplicity: ❤️ ❤️ ❤️ ❤️

Reliability: ❤️ ❤️ ❤️ ❤️

Affordability: 💔

  1. Deploy as you would normally deploy to Heroku
  2. Enable Dyno metadata: heroku labs:enable runtime-dyno-metadata --app <app name> (we need this to know the version number of the web app).
  3. (If emails are enabled) Enable the Heroku scheduler and configure it to run rake api:log_digest every 10 minutes. This is required for Device log digests via email.

Don't forget to set ENV vars and run heroku run rake db:setup.