view paste.ini @ 3:11173b4a7ca8

avoid namespace collision
author Jeff Hammel <k0scist@gmail.com>
date Mon, 19 Dec 2016 12:28:19 -0800
parents b0942f44413f
children
line wrap: on
line source

#!/usr/bin/env paster

# sample config file for the paste webserver

[DEFAULT]
debug = true
email_to = jhammel@mozilla.com
smtp_server = localhost
error_email_from = paste@localhost

[exe]
command = serve

[server:main]
use = egg:Paste#http
host = 0.0.0.0
port = 8080

[composite:main]
use = egg:Paste#urlmap
/ = toolbox

set debug = false

[app:toolbox]
paste.app_factory = toolbox.factory:paste_factory
toolbox.about = %(here)s/ABOUT.txt
toolbox.directory = %(here)s/sample
toolbox.fields = usage, author, type, language
toolbox.model_type = toolbox.model:FileCache
toolbox.reload = false