5 First create a Python virtual env:
7 virtualenv env -ppython3
8 source env/bin/activate
12 pip3 install -r requirements.txt
16 * Copy config.example.cfg to config.cfg
17 * Fill SECRET_KEY and WTF_CSRF_SECRET_KEY in with a random string
18 * Make a Github OAuth Client at <https://github.com/settings/developers>:
19 * Homepage URL - `http://localhost:5000/`
20 * Authorization callback URL - `http://localhost:5000/user/github/callback/`
21 * Put client id and client secret in GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET
22 * Setup the database: python3 setup.py
29 You need to enter the virtual environment if you haven't yet in
32 source env/bin/activate
34 If you need to, reset the db like so:
42 Then view in your web browser: http://localhost:5000/
46 ### Start celery worker
49 FLASK_CONFIG=../config.cfg celery -A app.tasks.celery worker
57 rm db.sqlite && python setup.py -t && FLASK_CONFIG=../config.cfg FLASK_APP=app/__init__.py flask db stamp head
60 FLASK_CONFIG=../config.cfg FLASK_APP=app/__init__.py flask db migrate
63 FLASK_CONFIG=../config.cfg FLASK_APP=app/__init__.py flask db upgrade