Skip to content
UbiquitouskiwiPublic

About

Home library system created with flask and postgres DB. very simple, easy to manage, and easy to get up and running.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

1 watching

Forks

Repository files navigation

BOOKWRMS

License Flask Python

Screenshot

This is a home library system to keep track who you lend books to as well as keep track of what books you have. BOOKWRMS stands for "Becca's Online Organized Knowledge Warehouse and Resource Management System."

Dev Setup

Tutorial that was followed: https://flask.palletsprojects.com/en/2.2.x/tutorial/layout/

  1. Install python 3.11 from the Micrsoft store:

https://www.microsoft.com/store/productId/9NRWMJP3717K

  1. Install Visual Studio Code (vs code) from here:

https://code.visualstudio.com/

  1. Create a folder somewhere on your local machine that will house this project and virtual environment (venv). Ex:

Windows:

C:\Users\{user}\Documents\PythonProjects

Linux:

/home/Documents/projects/python
  1. Open folder above in vs code and open a terminal inside vs code. On the left hand side look for "source control" and pull this project and switch to that project folder.

  2. Create your venv using the venv library native to python. run the following command in the vs code terminal:

Windows:

python -m venv venv

Linux (May neet to install with apt install python3.11-venv)

python3 -m venv venv

ps. the second venv above is the name of the virtual environment. it can be anything you like, but make sure you remember it

  1. Activate virtual environment by running Activate.ps1 in the venv/Scripts/ folder. Ex:

Windows:

& venv/Scripts/Activate.ps1

Linux:

source venv/bin/activate
  1. Install all required libraries listed in the requirements.txt
pip install -r requirements.txt
  1. Initialize and create and fill the local DB using command:
flask --app flaskr init-db --dev true

ps use this command for blank DB: flask --app flaskr init-db

  1. Run the flask app locally with this command
flask --app flaskr run --debug

Architecture

Architecture Diagram

About

Home library system created with flask and postgres DB. very simple, easy to manage, and easy to get up and running.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages