betty.servers.project_builtin module

The built-in server.

final class betty.servers.project_builtin.ProjectBuiltinServer

Bases: Server, Manufacturable, Plugin[ServerDefinition]

The builtin server plugin. Serve your site using Python’s built-in web server. This is for local use only, and unsafe for publishing your site.

Plugin ID

builtin

Class

ProjectBuiltinServer

Configuration

not configurable

Comes after

builtin

__init__(project: Project, /) None
new = <betty.requirement._RequirableDecorator object>
property public_url: str

The server’s public URL.

async start() None

Start the server.

async stop() None

Stop the server.