Yeoman generator for Flask project to be deployed to Heroku

Usage no npm install needed!

<script type="module">
  import generatorFlaskHeroku from '';


Yeoman Flask Generator for Heroku

Generator to use Yeoman on a Flask project then deploying on Heroku platform.

For more informations about Yeoman, see

For more informations about Flask, see

For more informations about Heroku, see


$ npm install -g generator-flask-heroku


Generates a new Flask app with all the basic files you need.

$ yo flask-heroku


  1. Install virtualenv and activate it.

$ virtualenv venv && source venv/bin/activate

  1. Install pip package manager

  2. Then install flask required depensies.

$ pip install -r requirements.txt

Deployment to Heroku

$ git init

$ git add .

$ git commit -am "first commit"

$ heroku create <app-name>

$ git push heroku master

$ heroku open


$ venv/bin/python ./

Your application will be available at


If you decided to use Frozen Flask, run $ python to build a static version of your app.