ceh04 / flask-basic-registration

Basic user registration package for Flask.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flask User Management

Build Status

Starter app for managing users - login/logout and registration.

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

About

Basic user registration package for Flask.

License:MIT License


Languages

Language:Python 71.3%Language:HTML 28.3%Language:CSS 0.2%Language:JavaScript 0.1%