yepic
To set up backend:
- Navigate to /flask/
- Install virtualenv by running
pip install virtualenv - Run
virtualenv -p python3.8.13 virtual. This will create your virtual environment. - Run
source virtual/bin/activate(UNIX), orvirtual\Scripts\Activate.ps1(Windows Powershell). This will put you inside the virtual environment. You know it works when it says(virtual)at the start of your command line. - Run
pip install -r requirements.txt. This will install all the python packages. - Test by running main.py from the /flask/gen/ directory (run
python gen/main.py).
To run backend:
- Navigate to /flask/
- Run
source virtual/bin/activate(UNIX), orvirtual\Scripts\Activate.ps1(Windows Powershell). This will put you inside the virtual environment. You know it works when it says(virtual)at the start of your command line. - Run
pip install -r requirements.txtto install any new packages. - Test by running main.py from the /flask/gen/ directory (run
python gen/main.py).