-
Notifications
You must be signed in to change notification settings - Fork 0
Running the Project
This project requires that a Flask server be run within a Python virtual environment.
Instructions for running on macOS and through PyCharm.
Get an installation of Flask
and venv
.
Activate the virtual environment ($ source venv/bin/activate
), and then install all the required packages (listed in the readme at the root of the project). Then set the FLASK_APP environment variable ($ export FLASK_APP=server.py
). Now run with $ flask run
.
PyCharm should be able to automatically create a virtual environment for the project. The Python interpreter should be for version 3.6. Install all the required packages into this installation. Then make sure that the environment variables for the configuration of server.py
includes the field "FLASK_APP: server.py". Running server.py
should now run the Flask server.