This podcast web API was put together as the demo application for the Visual Studio Code for Python Developers course at Talk Python training.
Create virtual environment
python -m venv .venvActivate virtual environment. VS Code should prompt you for this, but you can do this manually.
source .venv/bin/activateInstall project dependencies
python -m pip install --upgrade pip
python -m pip install .Run the project. Using the '-g' switch will load the sample data into tinydb
python -m podcastapi -gMake sure the virtual environment has been created and activated as shown above
Install test dependencies
python -m pip install .'[test]'Run pytest
pytest