MINI-AMAZON Visit at http://better-amazon.colab.duke.edu:5000/
How to run (Paul's method, assuming Mac):
- clone and cd into folder
- run
python3 -m venv test-venv(if test-venv does not already exist) source test-venv/bin/activate(this will activate the virtual environment)pip install -r requirements.txt(installs dependencies)export FLASK_APP=app.py(exports the main flask app)- If running locally
flask runand go to local url provided
If running on VMflask run --host 0.0.0.0(insidetmux), then navigate to http://better-amazon.colab.duke.edu:5000/
NOTE: if on VM, the app may already be running. If so, you may need to:
- run
ps -awhich will list running processes - get the pid of whichever process is listed as Flask
kill [pid]