2018-01-13 16:13:04 +00:00
|
|
|
# hg serve
|
|
|
|
|
|
|
|
> Start a standalone Mercurial web server for browsing repositories.
|
|
|
|
|
|
|
|
- Start a web server instance:
|
|
|
|
|
|
|
|
`hg serve`
|
|
|
|
|
|
|
|
- Start a web server instance on the specified port:
|
|
|
|
|
|
|
|
`hg serve --port {{port}}`
|
|
|
|
|
|
|
|
- Start a web server instance on the specified listening address:
|
|
|
|
|
|
|
|
`hg serve --address {{address}}`
|
|
|
|
|
2018-01-17 08:54:48 +00:00
|
|
|
- Start a web server instance with a specific identifier:
|
2018-01-13 16:13:04 +00:00
|
|
|
|
|
|
|
`hg serve --name {{name}}`
|
|
|
|
|
2018-01-17 08:55:11 +00:00
|
|
|
- Start a web server instance using the specified theme (see the templates directory):
|
2018-01-13 16:13:04 +00:00
|
|
|
|
|
|
|
`hg serve --style {{style}}`
|
|
|
|
|
2018-01-17 12:08:16 +00:00
|
|
|
- Start a web server instance using the specified SSL certificate bundle:
|
2018-01-13 16:13:04 +00:00
|
|
|
|
|
|
|
`hg serve --certificate {{path/to/certificate}}`
|