Skip to content

codebykat/ulterior

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published