simple landing page to collect prelaunch emails
Python Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
project
tests
.gitignore
README.md
TODO.md
manage.py
requirements.txt

README.md

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