You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Ryan 27e2fbbac7
Kill old type
5 years ago
kappa123 Kill old type 5 years ago
.gitignore upgraded to python 3.6 6 years ago
.python-version upgraded to python 3.6 6 years ago
.travis.yml upgraded to python 3.6 6 years ago
LICENSE kappa 6 years ago
README.md upgraded to python 3.6 6 years ago
requirements.txt stallmanW 6 years ago
setup.py Switch to setuptools 6 years ago
zappa_settings.json Add Prod moe configuration 6 years ago

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