Coder Social home page Coder Social logo

bohooslav / bain Goto Github PK

View Code? Open in Web Editor NEW
28.0 3.0 2.0 375.46 MB

A web app for reading the Bible with full emphasis on the God`s Word only. Sola scriptura

Home Page: https://bolls.life

Python 33.63% HTML 39.43% CSS 14.49% PLpgSQL 4.34% JavaScript 6.51% Shell 0.53% Dockerfile 1.05%

bain's Introduction

bain

This repository moved to Bolls-Bible organisation. Here it is -> https://github.com/Bolls-Bible/bain/

Setting up the repo

  • clone the repo using git
git clone [email protected]:Bohooslav/bain.git
  • enter the directory
cd bain/django/
  • set up local enviroment. This is a very important step. For now I work with python 3.7 because of gcloud works only on that + it is more stable for now.
pipenv
pipenv shell
  • install reqirements using pip
pipenv install -r requirements.txt
  • run server (I am using 0 host for better debugging. You are free to use whatever you want)
python manage.py runserver 0:8000
  • and go to http://0.0.0.0:8000/
  • check if everything is correct and you do not see any error. You will not see any verse, because to do that you should have installed PostreSQL, create bd 'bain', run migrations and fill a table 'bolls_verses' with translations. Ask me to get the translations https:t.me/Boguslavv. Using pgAdmin or cmd, create a database bain , than run migrations:
python manage.py makemigrations
python manage.py migrate

and then insert the translation there.

  • the next step is to go to ./bolls/static/bolls/ to install Imba dependencies
cd django/bolls/static/bolls/
npm install
  • than watch the changes in files to compile them
npm run watch

After that you should be able to debug it.

Checklist before any deploy

  • update sw.js
  • npm run build
  • git pull on server
  • ./inject-secrets.sh
  • ./deploy.sh

And do not forget to clean expired sessions sometimes

python manage.py clearsessions

Become a maintainer

You will get full access to Google Cloud project running the app backend, VPS with PostgreSQL database, abd this repo.

bain's People

Contributors

bohooslav avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bain's Issues

NIV Headers + Additional Options

Thank you for this, very much appreciated. I'm reading the NIV84 and the summary / topic headers are merged into the verses and it makes reading a little difficult. Could you separate the headers by putting them in bold, make them appear on their own line, and add an option to remove them? Also would like an option to hide verse numbers, if possible.
example2

Fix that error with history

Internal Server Error: /save-history/

MultipleObjectsReturned at /save-history/
get() returned more than one History -- it returned 3!

Fix compare translations reordering list

After reordering the list via insertBefore the list's state is not reordered on the imba side and it causes order issue -- the order becomes looking random :/

Redesign notifications

At first change the notifications management. Use clearTimeout().
After that maybe redesign notification duration and add tap for clearing that out.

Create donate page.

In the last time I meet an issue with donating. In Ukraine, you can easily donate to my Monobank account, but you can't use that from abroad.
Search for international donating alternatives.
Patreon is a bullshit that didn't payout me my $20.80.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.