mirror of https://github.com/CrimsonTome/tldr.git
28 lines
601 B
Markdown
28 lines
601 B
Markdown
# 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:
|
|
|
|
`hg serve --style {{style}}`
|
|
|
|
- Start a web server instance using the specified SSL certificate:
|
|
|
|
`hg serve --certificate {{path/to/certificate}}`
|