To run the Flask app, the requirements are the following:
Python (3.10 preferred)
Flask, Pandas, Numpy, Logging and Typing modules installed (the latest versions preferred)
- Open terminal and change directory to ~/HonorsProject/ (/HonorsProject/web_application also works)
- For the first option, you can run the following commands
'set FLASK_APP=app.py'
'flask run' OR 'python -m app.py'
'export FLASK_APP=app.py'
'flask run' OR 'python -m app.py'
'python app.py'
also works fine.
Note: For the second option, the same commands can be used, replacing 'app.py' with '__init__.py'
Once the app is running, navigate to 'localhost:5000' to use the webapp
Note: there are three .csv files for use in HonorsProject/testing, but you can use other files if you choose