This is the start of the Python Backend of the Flames of Exile Web Service
If you don't know how to do that
- In your terminal run the python venv command (replaceing 'name_of_environment' with the desired name of your environment) from one level over the root of your project.
python -m venv [name_of_environment]
- Navigate down into your new virtual enviroment folder then into the scripts sub folder.
- run the activate script from your terminal
Install the required packages to your virtual environment. This will need to be repeated any time new required packages are added to the project.
- From inside your virtual enviroment navigate into the FOE_Backend folder and in your terminal run
python -m install -r requirements.txt
This will add any needed packages for the project.
- Navigate to the FOE_Backend folder from inside your virtual environment.
- run
flask run
in your terminal. - This will start the development server. Any time you make changes to the server you will need to restart it for it to serve the most up to date content.