A service for referencing Orthodox canon law.
Go to file
2020-01-04 13:46:38 -05:00
.idea bump 2019-06-03 06:52:10 -04:00
.vscode Updating copyright year, few others. 2020-01-04 13:46:38 -05:00
canon_law Updating copyright year, few others. 2020-01-04 13:46:38 -05:00
.gitignore Update .gitignore to remove Mac files. 2018-09-26 01:23:00 -04:00
app.py bump 2019-06-03 06:52:10 -04:00
LICENSE.txt Initial commit. 2018-09-26 01:19:47 -04:00
README.md bump 2019-06-03 06:52:10 -04:00

canon_law

A service for referencing Orthodox canon law.

Self-Host Installation

Step 1. Python Setup (Linux/MacOS)

python3 -m venv venv
source venv/bin/activate
pip install -U colorama flask tinydb

Step 1. Python Setup (Windows)

python3 -m venv venv
.\venv\Scripts\activate
pip install -U colorama flask tinydb

Step 2. Setting Environment Variables

You will need to set your flask environment to development or production, with the former having an interactive debugger and live reload.

For Linux, you will use export FLASK_ENV=<option> where <option> is one of settings aforementioned. For Windows, this is set FLASK_ENV=<option>.

Finally, set the FLASK_APP environment variable to canon_law by doing export FLASK_APP=canon_law or set FLASK_APP=canon_law, the latter if you are on Windows.

Step 3. Launch

Do flask run and the service should start up. If it doesn't, please file an issue so I can get to work. :)