Deploying to Heroku with Conda Buildpack - tonyfast/bokeh-table-ui GitHub Wiki
The application
This Flask application runs a web service in an conda environment. The web service interacts with Bokeh and Blaze.
It was very easy to deploy a working application in a Conda environment to Heroku with Heroku Conda Buildpack
conda-buildpack
Create a new application with the Conda Buildpack.
heroku create --app APP_NAME --buildpack https://github.com/kennethreitz/conda-buildpack.git
heroku config:add BUILDPACK_URL=https://github.com/kennethreitz/conda-buildpack.git
heroku ps:scale web=1
Procfile
Conda-buildpack's instructions provided almost everything necessary for the application to work. A Procfile is required to run the flask application. The application uses Heroku's environment variable PORT to detect the right port.
Put this snippet in your Procfile.
web: python app.py