From 64a3177978fad46292382c0252a1401396196b9d Mon Sep 17 00:00:00 2001 From: lealife Date: Thu, 27 Jul 2017 14:45:11 +0800 Subject: [PATCH] vendor --- Vendor.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Vendor.md b/Vendor.md index 9d5eb7e..1edcbc1 100644 --- a/Vendor.md +++ b/Vendor.md @@ -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 -``` \ No newline at end of file +``` + +# 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 \ No newline at end of file