Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/romainberger/yeoman-flask
Yeoman generator for Flask project
https://github.com/romainberger/yeoman-flask
Last synced: about 6 hours ago
JSON representation
Yeoman generator for Flask project
- Host: GitHub
- URL: https://github.com/romainberger/yeoman-flask
- Owner: romainberger
- License: mit
- Created: 2012-12-28T14:57:01.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-11T18:21:38.000Z (over 9 years ago)
- Last Synced: 2024-09-19T14:37:30.616Z (5 days ago)
- Language: JavaScript
- Size: 458 KB
- Stars: 73
- Watchers: 4
- Forks: 13
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Yeoman Flask Generator
Generator to use Yeoman on a Flask project.
For more informations about Yeoman, see [Yeoman.io](http://yeoman.io/)
For more informations about Flask, see [Flask.pocoo.org](http://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](http://packages.python.org/Frozen-Flask/), run `$ python freeze.py` to build a static version of your app.