diff --git a/pages/common/hg-serve.md b/pages/common/hg-serve.md new file mode 100644 index 0000000000..d3c4043773 --- /dev/null +++ b/pages/common/hg-serve.md @@ -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 name: + +`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}}`