Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 472 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 472 Bytes

Run in production

Assuming we want to run the app at https://foo.bar/podcasts

HTTP

export BASE_URL=https://foo.bar
export PODCAST_DIR=/var/podcasts
# Note pipenv automatically loads environment from .env file

pipenv run uwsgi \
    --http :8006 \
    --processes 1 \
    --threads 5 \
    --manage-script-name \
    --mount "/podcasts=app.py"

Usage

The podcast feed is available at /feed (i.e. https://foo.bar/podcasts/feed in the example above)