Skip to content

Instantly share code, notes, and snippets.

@zyegfryed
Created Aug 18, 2012
Embed
What would you like to do?
Procfile and environment file that plays nice with Python and foreman
PORT=8000
VENV_HOME=/usr/local/venv/develop
PYTHONUNBUFFERED=true
web: $VENV_HOME/bin/python manage.py runserver 0.0.0.0:$PORT
mail: sudo $VENV_HOME/bin/python -u -m smtpd -n -c DebuggingServer localhost:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment