Biblio is a tool for your private library. It manages your books and magazines.
Otherwise, you can use the docker-image provided in the repository.
The first time you use this docker-compose you must initialise the containers with:
cd biblio
docker compose upThe Frontend is now visible under localhost:5000
Afterwards, the container may be started with
docker compose startTo shut down the container you can either use a different terminal and use
docker compose stopor by pressing Ctrl + C in the terminal used to initialise the container.
current version does not support old connection type. Please use docker.
There are two main ways to start using biblio in a development environment. The first is to use your location python intallation. The second is to use a docker-compose which is described under the next paragraph.
To use your local python installation you need to firstly install the given packages:
pip install -r requirements.txtSecondly, create the database container:
docker container run -p 5433:5432 --name biblio -e POSTGRES_PASSWORD=1234 postgres:12.2 Then initialise the biblio database by running :
cd src/code
python init.pyAfter that start the flask server by:
cd src/code
python run.pyFor executing PostgreSQL inside the docker container
docker exec -it biblio bash
psql --dbname=postgres --username=postgresFor more information see here: https://github.com/BennerLukas/biblio/blob/main/doc/DB/biblio.md