Farmbot-Web-App/DEPLOYMENT.md

1.2 KiB

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 (saves time)

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).

Don't forget to set ENV vars as you would normally do with application.yml and run heroku run rake db:setup.