This project is used to build the website https://www.dailyoffice2019.com. It is a Django application written in Python (to be installed in a development environment). It is used to produce a static html and javascript site which can then be deployed to the production environment.
The site invites you to join with Christians around the world in praying with the Church, at any time or in any place you may find yourself. It makes it easy to pray daily morning, midday, evening, and compline (bedtime) prayer without flipping pages, searching for scripture readings or calendars, or interpreting rubrics. The prayers are presented from The Book of Common Prayer (2019) of the Anglican Church in North America and reflect the ancient patterns of daily prayer Christians have used since the earliest days of the church.
Daily Morning Prayer and Daily Evening Prayer are the established rites (offices) by which, both corporately and individually, God’s people annually encounter the whole of the Holy Scriptures, daily confess their sins and praise Almighty God, and offer timely thanksgivings, petitions, and intercessions.
Pull requests are welcome. Take a look at the Github issues and see where you might help out. Updates to documentation and tests (both of which are largely missing) are also welcome.
The project is known to work with these versions, although it may also work with more recent versions.
If you are using macOS, all the above requirements may be installed with Homebrew.
https://github.com/blocher/dailyoffice2019
cd dailyoffice2019
cp app/.env.development app/.env.local
cp site/website/.env.example site/website/.env
psql -d postgres
create database dailyoffice;
create user dailyoffice with password 'password';
grant all privileges on database dailyoffice to dailyoffice;
\q
unzip -p site/dailyoffice_2024_01_30.sql.zip dailyoffice_2024_01_30.sql | psql -U dailyoffice dailyoffice
/site
directorypython3 -m venv env
source env/bin/activate
pip install -r requirements.txt
python manage.py collectstatic
python manage.py runsslserver
https://127.0.0.1:8000/api/
/app
directoryhttp://127.0.0.1:8080
black
to format code with a line length of 119 beore submitting a pull requestfind . -iname "*.py" | xargs black --target-version=py311 --line-length=119
from the site
directoryThe application is built around several Django "apps". The most important are:
website\settings.py
and all paths are defined
in website\routes.py
. Start here.NOTE: churchcal, bible, and psalter apps may be spun off as separate projects soon and added as dependencies to this project