[英]starting mercurial hg web server from windows command line
Anybody knows how I can start hgweb (mercurial hg web server) from the windows command line? 有谁知道如何从Windows命令行启动hgweb(mercurial hg web服务器)?
Currently to run it I am doing a rightclick on the explorer window in a repository folder. 目前要运行它我正在对存储库文件夹中的资源管理器窗口进行右键单击。
Thanks! 谢谢!
D:\>hg serve
listening at http://my.host.name:8888/ (bound to *:8888)
CTRL + C to kill it. CTRL + C来杀死它。
You can start q web server using 'hg serve' and that will listen on the default port: 8000. Or you can specify a port 'hg serve -p XXXX' 你可以使用'hg serve'启动q web服务器,它将监听默认端口:8000。或者你可以指定一个端口'hg serve -p XXXX'
I use it on a batch file and start it automatically. 我在批处理文件中使用它并自动启动它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.