autowisp.browser_interface.start module

Class Inheritance Diagram

Inheritance diagram of ArgumentParser, DefaultsFormatter, HTTPConnection

Start django server wait to initialize and open in browser.

autowisp.browser_interface.start.find_free_port(hostname='localhost')[source]

Find an available port by binding to port 0.

autowisp.browser_interface.start.main()[source]

Set up config, logging and output redirection, then serve.

autowisp.browser_interface.start.migrate_and_serve(hostname, port)[source]

Apply migrations, launch django and block until it exits.

autowisp.browser_interface.start.parse_command_line()[source]

Return command line configuration.

autowisp.browser_interface.start.wait_until_responsive(hostname, port)[source]

Poll until the django server answers requests.