No Description http://gdq.moe
|
1 year ago | |
---|---|---|
kappa123 | 1 year ago | |
.gitignore | 2 years ago | |
.python-version | 2 years ago | |
.travis.yml | 2 years ago | |
LICENSE | 1 year ago | |
README.md | 2 years ago | |
requirements.txt | 1 year ago | |
setup.py | 1 year ago | |
zappa_settings.json | 1 year ago |
Flask starter project...
Update project/server/config.py, and then run:
$ export APP_SETTINGS="project.server.config.DevelopmentConfig"
or
$ export APP_SETTINGS="project.server.config.ProductionConfig"
$ 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
$ 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