From 84a728c4a6f6e7db224332173512266d4eaac2b8 Mon Sep 17 00:00:00 2001 From: leanote Date: Tue, 6 May 2014 22:59:52 +0800 Subject: [PATCH] Update README.md --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a04a97d..32c284a 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,13 @@ leanote build with golang(revel) and mongodb. so you must install mongodb at fir ### Install mongodb go http://www.mongodb.org to download and install it. + +### Export initial mongodb data +the mongodb data in leante/mongodb_backup/leanote_install_data +``` +mongorestore -h localhost -d leanote --directoryperdb path_to_leanote_install_data +``` + ### Configure conf/app.conf ``mongodb`` **required** @@ -59,4 +66,4 @@ leanote/bin/leanote -importPath=github.com/leanote/leanote ## How to develop leanote ## License -leanote is released as open-source software under the GNU General Public License (GPL), version 2 or later. \ No newline at end of file +leanote is released as open-source software under the GNU General Public License (GPL), version 2 or later.