Skip to content

Instantly share code, notes, and snippets.

@zyegfryed
Created August 18, 2012 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zyegfryed/3387928 to your computer and use it in GitHub Desktop.
Save zyegfryed/3387928 to your computer and use it in GitHub Desktop.
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