Mercurial > hg > toolbox
diff paste.ini @ 0:b0942f44413f
import from git://github.com/mozilla/toolbox.git
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 11 May 2014 09:15:35 -0700 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/paste.ini Sun May 11 09:15:35 2014 -0700 @@ -0,0 +1,31 @@ +#!/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 \ No newline at end of file