/Flask-Landing

simple landing page to collect prelaunch emails

Primary LanguagePython

Flask-Landing

Boilerplate project template for a simple landing page to collect prelaunch emails. Powered by Flask, of course. <3

QuickStart

Config

Rename config_sample.py as config.py and then update.

Set Environment Variables

$ export APP_SETTINGS="project.config.DevelopmentConfig"

or

$ export APP_SETTINGS="project.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

$ python manage.py runserver

Testing

Without coverage:

$ python manage.py test

With coverage:

$ python manage.py cov