A service for referencing Orthodox canon law.
Go to file
2024-09-23 21:51:08 -04:00
.vscode Update and add history to 1nicea. 2021-01-25 09:45:12 -05:00
canon_law Update repo references and add some trullo canons. 2024-09-23 21:51:08 -04: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 Update repo references and add some trullo canons. 2024-09-23 21:51:08 -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. :)