A simple library management web application made with Flask, MySQL and Tailwind
Make sure you have Python3+ and MySQL installed on your system. Clone or download this repository. Run following commands in the terminal from inside the repository.
-
Create a virtual environment
python3 -m venv myenv
-
Activate the virtual environment
source myenv/bin/activate
-
Install requirements
pip install -r requirements.txt
-
Edit
app_secrets.py
andsetup_db.py
with your values -
Run
setup_db.py
python3 setup_db.py
-
Run
app.py
python3 app.py