app.pasterapp

Module Contents

Classes

PasterBaseApplication()
PasterApplication()
PasterServerApplication(self,app,gcfg=None,host=”127.0.0.1”,port=None,**kwargs)

Functions

_has_logging_config(paste_file)
paste_config(gconfig,config_url,relative_to,global_conf=None)
load_pasteapp(config_url,relative_to,global_conf=None)
run()
paste_server(app,gcfg=None,host=”127.0.0.1”,port=None,**kwargs)
_has_logging_config(paste_file)
paste_config(gconfig, config_url, relative_to, global_conf=None)
load_pasteapp(config_url, relative_to, global_conf=None)
class PasterBaseApplication
app_config()
load_config()
class PasterApplication
init(parser, opts, args)
load()
class PasterServerApplication(app, gcfg=None, host="127.0.0.1", port=None, **kwargs)
__init__(app, gcfg=None, host="127.0.0.1", port=None, **kwargs)
load()
run()

The gunicorn_paster command for launching Paster compatible applications like Pylons or Turbogears2

paste_server(app, gcfg=None, host="127.0.0.1", port=None, **kwargs)

A paster server.

Then entry point in your paster ini file should looks like this:

[server:main] use = egg:gunicorn#main host = 127.0.0.1 port = 5000