Update README.md

This commit is contained in:
leanote committed 2014-05-06 22:59:52 +08:00
1 parent b7d2edd6a7
commit 84a728c4a6
1 file changed
+8 -1
+8 -1
View File
@@ -21,6 +21,13 @@ leanote build with golang(revel) and mongodb. so you must install mongodb at fir
### Install mongodb ### Install mongodb
go http://www.mongodb.org to download and install it. 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 ### Configure conf/app.conf
``mongodb`` **required** ``mongodb`` **required**
@@ -59,4 +66,4 @@ leanote/bin/leanote -importPath=github.com/leanote/leanote
## How to develop leanote ## How to develop leanote
## License ## License
leanote is released as open-source software under the GNU General Public License (GPL), version 2 or later. leanote is released as open-source software under the GNU General Public License (GPL), version 2 or later.