$ git clone https://github.com/oregoncountryfair/ocfnet
$ cd ocfnet
$ npm install
$ virtualenv venv
$ echo "\n\nexport PYTHONPATH=$(pwd)\ncd PYTHONPATH" >> venv/bin/activate
$ source venv/bin/activate
$ pip install -r requriements.txt
$ alembic upgrade head
$ mkdir -p ocfnet/static/uploads
$ ./manage.py build_js
$ ./manage.py runserver -dr
Go to localhost:5000 in your browser.
Copy the config file
$ cp configdist.py config.py
Import the default settings and override:
# config.py
from configdist import *
DATABASE_URL = 'sqlite:///custom.db'