Flask starter project with SQLAlchemy, Flask-login, Bourbon/Neat/Bitters, and Reactjs.
- Activate a virtualenv
$ mkvirtualenv flask-skeleton
- Install the requirements
$ pip install -r requirements
Update project/server/config.py
, and then run:
$ export APP_SETTINGS="project.server.config.DevelopmentConfig"
or
$ export APP_SETTINGS="project.server.config.ProductionConfig"
$ inv init
$ inv server
So access the application at the address http://localhost:5000/
Want to specify a different port?
$ inv server --port 4567
Without coverage:
$ inv test
With coverage:
$ inv cov