Bolls-Bible / bain

A web app for reading the Bible with full emphasis on the God`s Word only. Sola scriptura
https://bolls.life
64 stars 9 forks source link

bain

Setting up the repo

git clone git@github.com:Bohooslav/bain.git

There are two ways you may run this project:

  1. Just run it on bare metal, on your machine
  2. Run it in docker with docker compose

Bare metal setup

cd bain/django/
pipenv
pipenv shell
pipenv install -r requirements.txt
python manage.py runserver 0:8000
pg_restore -v -d bain < bolls_backup.dump

than run migrations to be sure everything is up to date:

python manage.py makemigrations
python manage.py migrate
cd django/bolls/static/bolls/
npm install
npm run watch

After that you should be able to debug it.

Docker Compose setup

Go to LOCAL_DEV_WITH_DOCKER_COMPOSER.md for mpore info

Checklist before any deploy

And do not forget to clean expired sessions sometimes

python manage.py clearsessions

Become a maintainer

Contact me in any way you want. I will be happy to add you as a maintainer.

How to add a new translation

How to add a new dictionary