openfisca/openfisca-web-api — pull request #2 by jdesboeufs (2014-04-03 15:17:10+00:00)
Title: Heroku deployment profile

Hi,

I did some modifications to make the project compatible with Heroku:
* Specify dependencies in `requirements.txt`
* Add **Heroku** boilerplate (`Procfile`, `run`)
* Define a *gunicorn-based* config file called `heroku.ini`
* Remove *PasteScript* dependency in setup.py (conflict)

Hope it helps!

### Usage:
* Subscribe on [Heroku](https://www.heroku.com/) (free)
* Download and install [Heroku Toolbelt](https://toolbelt.heroku.com/)
* And do this:
```bash
git clone git@github.com:jdesboeufs/openfisca-web-api.git
cd openfisca-web-api
heroku create openfisca-example-api --region eu --buildpack https://github.com/AlJohri/heroku-buildpack-python-sklearn
git push heroku master
heroku open
```
Note: *Pandas* compilation = 3 minutes

If you want to use your own fork of **openfisca-france**, let's update `requirements.txt`!