0.0.6 • Published 9 years ago

generator-flask-heroku v0.0.6

Weekly downloads
34
License
-
Repository
github
Last release
9 years ago

npm.io

Yeoman Flask Generator for Heroku

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

For more informations about Yeoman, see Yeoman.io

For more informations about Flask, see Flask.pocoo.org

For more informations about Heroku, see Heroku.com

Installation

$ npm install -g generator-flask-heroku

Init

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

$ yo flask-heroku

Preparing

  1. Install virtualenv and activate it.

    $ virtualenv venv && source venv/bin/activate

  2. Install pip package manager

  3. 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

Local

$ venv/bin/python ./server.py

Your application will be available at 127.0.0.1:5000.

Build

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

0.0.6

9 years ago

1.0.6

9 years ago

1.0.5-b

9 years ago

1.0.5-a

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago