Update README.md

This commit is contained in:
leanote
2014-05-07 13:22:56 +08:00
parent 0ee8ec8996
commit 7000b92c00

View File

@ -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**