codebykat / ulterior

What's my motivation?

Home Page:http://ulterior.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ulterior

What's my motivation?

Experimental Flask app inspired by NaNoWriMo.

Local Development

Requirements:

  • Python
  • virtualenv
  • Postgres (or other local database)
  • foreman (or the Heroku Toolbelt)

Install local dependencies

$ virtulenv env
$ source env/bin/activate
$ pip install -r requirements.txt
$ cp .env.sample .env

Local Database

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()

Running the server

Start foreman, and visit your development server at http://localhost:5000

$ foreman start

About

What's my motivation?

http://ulterior.herokuapp.com


Languages

Language:Python 74.5%Language:HTML 20.4%Language:CSS 5.0%