What's my motivation?
Experimental Flask app inspired by NaNoWriMo.
Requirements:
- Python
- virtualenv
- Postgres (or other local database)
- foreman (or the Heroku Toolbelt)
$ virtulenv env
$ source env/bin/activate
$ pip install -r requirements.txt
$ cp .env.sample .env
Create a local database:
$ createdb ulterior-dev
Set the DATABASE_URL appropriately in your .env file:
DATABASE_URL=postgres:///ulterior-dev
Load the local database schema and seed data:
$ foreman run python
>>> from ulterior import database;
>>> database.init_db()
Start foreman, and visit your development server at http://localhost:5000
$ foreman start