-
Notifications
You must be signed in to change notification settings - Fork 1
Testing
For testing purposes, you can run the Flask project on your local machine. There are two ways to do this: on linux or on Windows environment.
To run the project on a Linux environment, you just need to run the localTest.sh file. This file will install the necessary dependencies and run the Flask project.
source localTest.shTo run the project on a Windows environment, you just need to run the localTest.ps1 file. This file will install the necessary dependencies and run the Flask project.
.\localTest.ps1Important
The project requires a virtual environment to run. The script will create it, but you have to deactivate it manually.
To deactivate the virtual environment, run the following command:
deactivateThis command works for both Linux and Windows environments.
Caution
It is important to deactivate the virtual environment after running the project. If you don't do this, the virtual environment will keep running and it will consume your computer's resources.