Periodically check if a target application needs more Dynos
Python Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
apiv1
apiv2
bin
fixtures
migrations
scaler
utils
.gitignore
LICENSE
Procfile
README.md
app.json
basecase.py
circle.yml
conftest.py
dynoup.py
manage.py
requirements.dev
requirements.txt
settings.py
testapp.py
webapp.py

README.md

Circle CI

Deploy and Setup

Deploy

1. heroku plugins:install https://github.com/heroku/heroku-oauth
1. heroku clients:create dynoup https://your-app-name.herokuapp.com/auth/heroku/callback/

Usage

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.

Development

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