Booky is a web application for schools trying to manage their books.
The application does not support multiple schools, each school needs it's own installation of this app.
Development of this project is discontinued. Newer version is being developed at https://github.com/Rentfunk/Booky-api and https://github.com/Rentfunk/Booky-frontend.
This guide is for developers only.
The first step is to install the requirements to develop on this project.
-
Make sure you have python 3.8.1, if not then install it seperately. You will also require to have pip installed.
-
Create a virtual enviroment according to this tutorial : https://docs.python.org/3/tutorial/venv.html
Name this virtual enviroment
menvor have it located seperately from rest of the project, it does not belong on the github repo. -
Clone the repository into your folder with
git clone https://github.com/SoTeKie/Booky.git -
Install the packages found in requirements.txt The command is
pip3 install -r requirements.txtorpip install -r requirements.txt -
The settings.py file relies on a
.envfile go tomyproject/myprojectand create a file named.envthere.These are the values that you have to fill in depending on what database you're working with: SECRET_KEY = DEBUG = ALLOWED_HOSTS= DB_ENGINE = DB_USER = DB_PASS = DB_HOST = DB PORT = For a development enviroment in sqlite3, SECRET_KEY, DEBUG and DB_ENGINE are the only values that need to be filled in.
-
The master branch is the main development branch that should only be pushed to with merges from other
featureorhotfix/bugfixbranches. These branches should only be pulled from the master branch, do NOT work on a feature/bugfix by pulling from a different feature/bugfix branch, pull requests will only be accepted on error-free code that is up to standard.