Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 706 Bytes

readme.md

File metadata and controls

52 lines (35 loc) · 706 Bytes

Flask User/Document Management

App for managing users - login/logout and registration. for managing documents - create/update

QuickStart

Set Environment Variables

$ export APP_SETTINGS="project.config.DevelopmentConfig"

or

$ export APP_SETTINGS="project.config.ProductionConfig"

Update Settings in Production

  1. SECRET_KEY
  2. SQLALCHEMY_DATABASE_URI

Create DB

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

Run

$ python manage.py runserver

Testing

Without coverage:

$ python manage.py test

With coverage:

$ python manage.py cov