Go to file
Michael Herman f586ca98ef upgraded to python 3.6 2017-02-05 13:17:10 -07:00
project updated dependencies 2016-12-12 22:58:19 -07:00
.gitignore upgraded to python 3.6 2017-02-05 12:45:58 -07:00
.python-version upgraded to python 3.6 2017-02-05 11:51:30 -07:00
.travis.yml upgraded to python 3.6 2017-02-05 13:17:10 -07:00
LICENSE Update LICENSE 2016-03-14 11:19:24 -06:00
README.md upgraded to python 3.6 2017-02-05 13:17:10 -07:00
manage.py upgraded to python 3.6 2017-02-05 13:11:46 -07:00
requirements.txt upgraded to python 3.6 2017-02-05 11:51:30 -07:00

README.md

Flask Skeleton

Flask starter project...

Build Status

Quick Start

Basics

  1. Create and activate a virtualenv
  2. Install the requirements

Set Environment Variables

Update project/server/config.py, and then run:

$ export APP_SETTINGS="project.server.config.DevelopmentConfig"

or

$ export APP_SETTINGS="project.server.config.ProductionConfig"

Create DB

$ python manage.py create_db
$ python manage.py db init
$ python manage.py db migrate
$ python manage.py create_admin
$ python manage.py create_data

Run the Application

$ python manage.py runserver

So access the application at the address http://localhost:5000/

Want to specify a different port?

$ python manage.py runserver -h 0.0.0.0 -p 8080

Testing

Without coverage:

$ python manage.py test

With coverage:

$ python manage.py cov