This commit is contained in:
lealife
2017-07-27 14:45:11 +08:00
parent ed2ad19341
commit 64a3177978

View File

@@ -11,4 +11,10 @@ RevelImportPath = "github.com/leanote/leanote/vendor/github.com/revel/revel"
```
go install github.com/leanote/leanote/cmd/leanote_revel
leanote_revel run github.com/leanote/leanote
```
```
# build leanote, 在当前目录生成了leanote二进制文件
go build -o ./leanote github.com/leanote/leanote/app/tmp
# 运行leanote, 其中-importPath是必须的
./leanote -importPath=github.com/leanote/leanote -runMode=prod -port=9000