LinuxCommandLibrary

hg-serve

hg-serve

TLDR

Start a web server instance

$ hg serve
copy


Start a web server instance on the specified port
$ hg serve --port [port]
copy


Start a web server instance on the specified listening address
$ hg serve --address [address]
copy


Start a web server instance with a specific identifier
$ hg serve --name [name]
copy


Start a web server instance using the specified theme (see the templates directory)
$ hg serve --style [style]
copy


Start a web server instance using the specified SSL certificate bundle
$ hg serve --certificate [path/to/certificate]
copy

Copied to clipboard