Skip to content

Instantly share code, notes, and snippets.

@mathslinux
Created October 15, 2014 05:32
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 mathslinux/3fd55dc32189b989e6c7 to your computer and use it in GitHub Desktop.
Save mathslinux/3fd55dc32189b989e6c7 to your computer and use it in GitHub Desktop.
paste deploy example
[app:blog]
paste.app_factory = app:Blog.factory
# use = call:app:blog_app
[composite:wiki]
use = egg:Paste#urlmap
/: home
/v1: wikiv1
[filter-app:home]
paste.filter_factory = app:WikiFilter.factory
next = homeapp
[app:homeapp]
paste.app_factory = app:Wiki.factory
[pipeline:wikiv1]
pipeline = logip logmethod v1
[filter:logip]
paste.filter_factory = app:LogIPFilter.factory
[filter:logmethod]
paste.filter_factory = app:LogMethodFilter.factory
[app:v1]
paste.app_factory = app:V1.factory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment