cmd
This commit is contained in:
23
Vendor.md
Executable file
23
Vendor.md
Executable file
@@ -0,0 +1,23 @@
|
||||
# Vendor
|
||||
|
||||
## revel 0.18
|
||||
|
||||
```
|
||||
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
|
||||
```
|
||||
Reference in New Issue
Block a user