Basic flask app scaffolding.
Includes a basic app structure and templates.
$ pip install flask-skeleton
$ create-flask-app [Options] APPNAME
Run $ create-flask-app --help
for usage.
cd
into the app directory- Activate virtual environment:
$ source env/bin/activate
- Run tests:
$ python -m unittest
- Create database:
$ flask create-db
- Run:
$ flask run
Source: Flask Skeleton.
Happy coding!