App

The Tornado main app

class disseminate.server.app.TornadoApp(**kwargs)

Bases: tornado.web.Application

The Tornado App for the built-in webserver

disseminate.server.app.get_app(in_path, out_dir, debug=False, **kwargs)

Create the Tornado app instance

disseminate.server.app.run_server(in_path, out_dir, port=8899, debug=False)

Create and run the web-server.

Parameters
in_pathstr

The filenames for project root documents.

out_dirstr

The target root directory to render files to.

portOptional[int]

The network port to serve the web-server.

debugOptional[bool]

If true, include debugging information.