Pecfest2024-Backend:
Follow these steps to set up and run the backend:
-
Ensure Python is Installed
Make sure Python is installed and up to date on your system. -
Create a Virtual Environment
Run the following command to create a virtual environment:python -m venv venv
-
Activate the Virtual Environment
- For Windows:
.\venv\Scripts\activate
- For Linux/macOS:
source venv/bin/activate
- For Windows:
-
Install required packages Execute the follwing command to install:
pip install -r requirements.txt
-
Enviroment variable Put the required env variable in .env file
-
Run the Application
Execute the following command to run the application:python app.py
To make you add all sql command you performed on your local db in commands.sql file.