Obtain an AlphaVantage API Key. A normal key should be fine, but alternatively you can use one of the prof's "premium" keys. Then create a file called ".env" and place it inside (like the following example):
# this is the ".env" file (in the root directory of the repo)
ALPHAVANTAGE_API_KEY="____________"
Create a virtual environment:
conda create -n unemployment-env python=3.10
conda activate unemployment-env
Install third-party packages:
pip install -r requirements.txt
Run the unemployment report:
python -m app.unemployment
Run the stocks report:
python -m app.stocks
Run the web app:
# Mac OS:
FLASK_APP=web_app flask run
# Windows OS:
# ... if `export` doesn't work for you, try `set` instead
# ... or try a ".env" file approach
export FLASK_APP=web_app
flask run
pytest