romainberger / yeoman-flask

Yeoman generator for Flask project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yeoman Flask Generator

Generator to use Yeoman on a Flask project.

For more informations about Yeoman, see Yeoman.io

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

Installation

$ npm install -g generator-flask

Documentation

Init

$ yo flask - Generates a new Flask app with all the basic files you need.

Server

Flask needs a development server to run in order to serve the application. To do so, run $ ./server. And to make Yeoman compile your compass stylesheets, run (in a separate terminal tab) $ yeoman server. 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.

About

Yeoman generator for Flask project

License:MIT License


Languages

Language:JavaScript 89.2%Language:Python 10.8%Language:CSS 0.0%