From 4cd020a7bab0388b6bb5db077535267dc877f917 Mon Sep 17 00:00:00 2001 From: leanote Date: Wed, 7 May 2014 13:18:29 +0800 Subject: [PATCH 1/4] Update .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 939b640..cb36bec 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ conf/app.conf conf/routes public/upload .DS_Store +.settings From c3d11d7409bc5ab75983e0dcc47ec7d10dae7fed Mon Sep 17 00:00:00 2001 From: leanote Date: Wed, 7 May 2014 13:18:46 +0800 Subject: [PATCH 2/4] Delete org.eclipse.core.resources.prefs --- .settings/org.eclipse.core.resources.prefs | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 .settings/org.eclipse.core.resources.prefs diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index db6da18..0000000 --- a/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,3 +0,0 @@ -eclipse.preferences.version=1 -encoding//conf/routes=UTF-8 -encoding//conf/routes-default=UTF-8 From 0ee8ec899610b27259313b4ae682b0b059c9e14b Mon Sep 17 00:00:00 2001 From: leanote Date: Wed, 7 May 2014 13:21:11 +0800 Subject: [PATCH 3/4] Update README.md --- README.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 9951ad2..442992c 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ user2 username: admin, password: abc123 ``` ### Configure conf/app.conf +rename conf/app-default.conf to conf/app.conf ``mongodb`` **required** @@ -66,16 +67,9 @@ default is admin. The index site is the adminUsername's blog for more infomation please see app/app.conf and revel manuals http://revel.github.io/ ### Run leanote -consume the leanote' path is LP - -* cd LP/bin -* set GOPATH ``` -export GOPATH=$GOPATH:`pwd` -``` -* run leanote -``` -./leanote -importPath=github.com/leanote/leanote +cd path_to_leanote/bin +sh run.sh ``` ## How to develop leanote From 7000b92c0093e412373efcca61e75d9923dd6fe4 Mon Sep 17 00:00:00 2001 From: leanote Date: Wed, 7 May 2014 13:22:56 +0800 Subject: [PATCH 4/4] Update README.md --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 442992c..b507004 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -We will upload leanote as soon as possible. Thanks for watching leanote. - ## Introduction leanote, it's a cloud note. You can create your own cloud note in leanote. @@ -25,9 +23,9 @@ go http://www.mongodb.org to download and install it. ### Export initial mongodb data -the mongodb data in leante/mongodb_backup/leanote_install_data +the mongodb data in path_to_leante/mongodb_backup/leanote_install_data ``` -mongorestore -h localhost -d leanote --directoryperdb path_to_leanote_install_data +mongorestore -h localhost -d leanote --directoryperdb path_to_leante/mongodb_backup/leanote_install_data ``` the initial data contains two users ``` @@ -35,8 +33,8 @@ user1 username: leanote, password: abc123 user2 username: admin, password: abc123 ``` -### Configure conf/app.conf -rename conf/app-default.conf to conf/app.conf +### Configuration +rename path_to_leante/conf/app-default.conf to path_to_leante/conf/app.conf ``mongodb`` **required**