Make the virtual enviroment by running the command python3 -m venv env
Acivate the virtual environment by running the command source env/bin/activate
or env\scripts\activate
for windows
Install all the dependencies.
dependencies are:-
- flask
- flask-sqlalchemy
- flask-login
- flask-wtf
- flask-cors
- flask-mysqldb
to install dependencies the commmand is pip install ~dependency-name~
You may get error while installing flask-mysqldb for that follow these instruction:-
- install ```pip install wheel```
- install ```sudo apt-get install libmysqlclient-dev``` first
- install ```pip install flask-mysqldb```
Hope that works!