No Description http://gdq.moe

Ryan 27e2fbbac7 Kill old type 6 months ago
kappa123 27e2fbbac7 Kill old type 6 months ago
.gitignore b79d9f7096 upgraded to python 3.6 1 year ago
.python-version c67b032897 upgraded to python 3.6 1 year ago
.travis.yml 1f7d69c93f upgraded to python 3.6 1 year ago
LICENSE b0f2514fd8 kappa 1 year ago
README.md f586ca98ef upgraded to python 3.6 1 year ago
requirements.txt 6addaadf41 stallmanW 1 year ago
setup.py 0fa8343098 Switch to setuptools 1 year ago
zappa_settings.json ba0ad107c9 Add Prod moe configuration 1 year 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:

```sh
$ python manage.py test

With coverage:

$ python manage.py cov