1.0 KB

Flask Skeleton

Flask starter project...

Build Status

Quick Start


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

Set Environment Variables

Update project/server/, and then run:

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


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

Create DB

$ python create_db
$ python db init
$ python db migrate
$ python create_admin
$ python create_data

Run the Application

$ python runserver

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

Want to specify a different port?

> $ python runserver -h -p 8080
> ```

### Testing

Without coverage:

$ python test

With coverage:

$ python cov