view paste.ini @ 12:c280a43ac442

py3
author Jeff Hammel <k0scist@gmail.com>
date Tue, 24 Nov 2020 13:10:30 -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