A small burndown chart that gets data from the Pivotal Tracker API. Uses busyflow.pivotal for getting stories.
This app has been prepared to run on Heroku.
(Assuming you are on OS X)
-
Get an account on Heroku.com if you don't already have one. Install the heroku toolbelt.
-
Clone into a dir of your liking "git clone git://github.com/alum/pivotalburndown.git"
-
Create a virtualenv "virtualenv venv --distribute"
-
Activate virtualenv "source venv/bin/activate"
-
Install dependencies: "pip install -r requirements.txt"
-
Rename settings_example.py to settings.py and enter your project details.
-
Remove 'settings.py' from .gitignore: "vi .gitignore"
-
Commit: "git commit -am 'settings'"
-
You are now able to run the app locally with "python app.py" and try it out on http://localhost:5000/
-
Create app on heroku: "heroku create --stack cedar"
-
Push code to heroku: "git push heroku master"
-
Scale the web worker to one process (free!): "heroku ps:scale web=1". DONE!
Heroku has an excellent guide to deployment: https://devcenter.heroku.com/articles/python