The Open Mosque Project is about developing a website and web services for all mosques for near enough free. The idea is that they would only need hosting and 1 person to help set it up. The website will provide mosques auto-generated prayer times (with adjustable jamaa times) and pages for other services they may offer.
The idea is to keep this open source so that others can take and build on it. It would be great to grow an open community with ideas and know-how to help develop this for all mosques in the world.
The project is being developed using a Django backend. We have now released the first version of the app but are still looking for people with the skills to help make this project better insha'Allah 🤲. Join us on our Discord server and share your ideas. 🗨️ https://discord.gg/CjX6UaBQn8 💬
Before trying to run the server
-
add a file named
.envin the root folder -
create a variable called
SECRET_KEY='replace_this_part_with_secret_key'in the.envfile -
generate a secret key from here djecrety.ir
-
between Git Pulls do not forget to run
pip install -r requirements.txt -
run
python manage.py makemigrationsandpython manage.py migrate -
run
python manage.py createsuperuser -
run
python manage.py runserver -
if new dependencies have been added run
pip freeze > requirements.txt
There are 2 great APIs to that I have used in projects to generate prayer times. Most mosques in London use https://www.londonprayertimes.com/api/. You may wish to consider that if you are from the UK. For this project I have used the excellent https://aladhan.com/prayer-times-api. No API Key needed.
resources I have used to put together this template
- The excellent DaisyUI CSS framework for easy styling and themes
- https://quilljs.com/ for the easy integration of rich text formatting
- Default Post Blue mosque image - https://commons.wikimedia.org/wiki/File:Blue_Mosque_2017.jpg
- Default Homepage Arial view of Blue Mosque from https://theistanbulinsider.com/the-blue-mosque-one-of-the-most-famous-misunderstandings/
- Latitude, Longitude finder - https://www.latlong.net/
- About page Google maps embed - https://www.embedgooglemap.net/
- A page for donations
- possibly add a feature so that centres can add custom pages to the site
- Anything else? feel free to get in touch 🗨️ https://discord.gg/CjX6UaBQn8 💬