update reademe.md
This commit is contained in:
10
README.md
10
README.md
@ -47,12 +47,9 @@ Copy path_to_leante/conf/app-default.conf to path_to_leante/conf/app.conf, the o
|
|||||||
```Shell
|
```Shell
|
||||||
db.host=localhost
|
db.host=localhost
|
||||||
db.port=27017
|
db.port=27017
|
||||||
db.dbname=leanote # required
|
db.dbname=leanote
|
||||||
db.username=root
|
db.username=
|
||||||
db.password=root123
|
db.password=
|
||||||
# or you can set the mongodb url for more complex needs
|
|
||||||
# mongodb://myuser:mypass@localhost:40001,otherhost:40001/mydb
|
|
||||||
db.url=mongodb://root:root123@localhost:27017/leanote
|
|
||||||
```
|
```
|
||||||
|
|
||||||
``http.port``
|
``http.port``
|
||||||
@ -103,6 +100,7 @@ go get github.com/leanote/leanote/app
|
|||||||
```
|
```
|
||||||
|
|
||||||
### Build/Run leanote via revel
|
### Build/Run leanote via revel
|
||||||
|
cp conf/routes-default to conf/routes
|
||||||
|
|
||||||
Now you can modify leanote source and build/run with revel
|
Now you can modify leanote source and build/run with revel
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user