- First, install the
pipenv
package, by using this command in the terminal:
pip install pipenv
- Then, we use
pipenv
to read the contents of the Pipfile and install all the necessary packages that make the frontend work. This can be accompished with:
pipenv install
(Make sure the terminal is opened within the correct folder!)
- From here on out, you only need to type this command in the terminal to run the frontend:
pipenv run flask --app gaming --debug run
The site will then be running locally at localhost:5000
, and you can access it as a url in your preferred web browser.
You can stop it at any time by pressing CTRL+C in the terminal.