Skip to content

Instantly share code, notes, and snippets.

@djoreilly
Created March 20, 2013 22:06
Show Gist options
  • Save djoreilly/5208965 to your computer and use it in GitHub Desktop.
Save djoreilly/5208965 to your computer and use it in GitHub Desktop.
from paste import httpserver
from paste.deploy import loadapp
wsgi_app = loadapp('config:' + '/etc/example/paste.ini')
httpserver.serve(wsgi_app, host='127.0.0.1', port=8080)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment