Skip to content

Lakshan-Banneheke/stockpilot-backend

Repository files navigation

StockPilot

Python Virtual Environment Setup

Make sure you have python 3.6 or higher installed.

python -m venv env

Next to activate the environment

On Unix,Mac

source env/bin/activate

On windows

.\env\Scripts\activate.bat

Next, install the necessary dependencies using the requirements.txt file.

pip install -r requirements.txt 

Set environment varible to run flask app

On Unix,Mac

export FLASK_APP=app.py

On windows

set FLASK_APP=app.py

Set Debug mode ON

set FLASK_ENV=development

Run The Project

flask run