- Created a virtual environment
python -m venv venv
- Activate the virtual environment
- Install dependencies
pip install -r requirements.txt
- Navigate to app directory
- Launch the app
python app.py
Store the env in the path app/.env
. The format of env should be :
POSTGRES_USER=USER_NAME
POSTGRES_PASSWORD=PASSWORD
POSTGRES_SERVER=SERVER_IP
POSTGRES_PORT=PORT_NUMBER
POSTGRES_DB=DB_NAME