1. heroku plugins:install https://github.com/heroku/heroku-oauth
1. heroku clients:create dynoup https://your-app-name.herokuapp.com/auth/heroku/callback/
DynoUp will run checks against a target application to detect if it needs more dynos.
A check is an HTTP URL in the target application that returns either a 200 OK if everything is OK or 503 Server Unavailable, in which case dynoup will scale up specified dyno type.
You can test the server locally by starting it with
1. heroku plugins:install https://github.com/heroku/heroku-oauth
1. heroku clients:create dynoup http://localhost:5000/auth/heroku/callback/
1. python webapp.py
The worker can be run with
./bin/worker.sh
