Virtual Environment settings created based on Flask Mega-Tutorial
$ python3 -m venv CS468
$ source CS468/bin/activate
$ pip install flask python-dotenv numpy pandas geopandas geographiclib
- MacOS
export FLASK_APP=server.py
- Windows
setx FLASK_APP "server.py"
- Python 3.
- Flask.
- Open Powershell
- Move into the root level of the project (same level as
run.sh) - Run the shell script:
$ bash run.sh
- Open Terminal
- Move into the root level of the project (same level as
run.sh) - Run the shell script:
$ bash run.sh
The app should launch in a new tab in your default browser.
*
Script not tested on Windows