Catholic Orthodoxy in electronic format
- Site: http://chidimo.github.io/Ethodoxy/
- API root: https://ethodoxy.herokuapp.com/api/v1
- Swagger documentation: https://ethodoxy.herokuapp.com/swagger/
- https://ethodoxy.herokuapp.com/api/v1/versions/
- https://ethodoxy.herokuapp.com/api/v1/books/
- https://ethodoxy.herokuapp.com/api/v1/chapters/
- https://ethodoxy.herokuapp.com/api/v1/verses/
- https://ethodoxy.herokuapp.com/api/v1/commentary/
All API endpoint calls have a count
key which tells the total number of results returned. The actual data is contained in the results
key.
All results are paginated by 50
pages.
It is possible to recreate the database on your local machine as the necessary .json
files have been included in the drbo_data
folder. The raw scrapped files are also available in the drbo_org_scrap
folder.
-
Clone the repo
-
Run
pipenv install
andpipenv install --dev
-
Run
python manage.py migrate
-
Optional. Create superuser with
python manage.py superuser
-
Optional. Create user with
python manage.py user
-
Both have the following optional arguments
-email admin@ethodoxy.net -password dwarfstar
-
Create a
PostgreSQL
database nameethodoxy-api
. -
Set up the following environment variables
DEBUG DJANGO_SETTINGS_MODULE=ethodoxy-api.settings.dev SECRET_KEY EMAIL_HOST_PASSWORD EMAIL_PORT ALLOWED_HOSTS=localhost DATABASE_URL DB_PASSWORD
-
Set up Douay-Rheims bible database by running the following commands in order
python manage.py create_version -name -location python manage.py create_ot python manage.py create_nt python manage.py create_chapters python manage.py create_verses python manage.py create_commentary # challoner commentary
I haven't figured it out yet. Feel free to message me at orjichidi95@gmail.com
- How to query verses