Skip to content
This repository was archived by the owner on Aug 24, 2022. It is now read-only.

Commit 1a2f30d

Browse files
committed
增加Windows服务模式运行说明
1 parent 1312b18 commit 1a2f30d

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
# Godoc for Golang, support translate.
22

3+
Install golangdoc:
4+
5+
go get github.com/golang-china/golangdoc
6+
37
Download Chinese Translate:
48

59
git clone https://github.com/golang-china/golangdoc.translations.git $(GOROOT)/translations
610

711
Start Chinese Godoc Server:
812

9-
go get github.com/golang-china/golangdoc
1013
golangdoc -http=:6060 -lang=zh_CN
1114

1215
See:
@@ -16,6 +19,18 @@ See:
1619
- http://godoc.org/github.com/golang-china/golangdoc/local
1720

1821

22+
# Run as windows service:
23+
24+
# install as windows service
25+
golangdoc -service-install -http=:6060
26+
27+
# start/stop service
28+
golangdoc -service-start
29+
golangdoc -service-stop
30+
31+
# remove service
32+
golangdoc -service-remove
33+
1934
# BUGS
2035

2136
Report bugs to [email protected].

0 commit comments

Comments
 (0)