Files
leanote/Vendor.md

26 lines
431 B
Markdown
Raw Normal View History

2017-11-30 20:11:10 +08:00
# Vendor
2017-11-30 20:15:28 +08:00
## Install leanote_revel cmd
基于revel 0.18
2017-11-30 20:11:10 +08:00
```
2017-11-30 20:15:28 +08:00
go install github.com/leanote/leanote/cmd/leanote_revel
leanote_revel run github.com/leanote/leanote
2017-11-30 20:11:10 +08:00
````
## 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
```