hg-serve: add page (#1892)

This commit is contained in:
Starbeamrainbowlabs
2018-01-18 10:47:55 +00:00
committed by GitHub

27
pages/common/hg-serve.md Normal file
View File

@@ -0,0 +1,27 @@
# 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}}`
- Start a web server instance with a specific identifier:
`hg serve --name {{name}}`
- Start a web server instance using the specified theme (see the templates directory):
`hg serve --style {{style}}`
- Start a web server instance using the specified SSL certificate bundle:
`hg serve --certificate {{path/to/certificate}}`