Update README.md
This commit is contained in:
12
README.md
12
README.md
@ -36,6 +36,7 @@ user2 username: admin, password: abc123
|
|||||||
```
|
```
|
||||||
|
|
||||||
### Configure conf/app.conf
|
### Configure conf/app.conf
|
||||||
|
rename conf/app-default.conf to conf/app.conf
|
||||||
|
|
||||||
``mongodb`` **required**
|
``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/
|
for more infomation please see app/app.conf and revel manuals http://revel.github.io/
|
||||||
|
|
||||||
### Run leanote
|
### Run leanote
|
||||||
consume the leanote' path is LP
|
|
||||||
|
|
||||||
* cd LP/bin
|
|
||||||
* set GOPATH
|
|
||||||
```
|
```
|
||||||
export GOPATH=$GOPATH:`pwd`
|
cd path_to_leanote/bin
|
||||||
```
|
sh run.sh
|
||||||
* run leanote
|
|
||||||
```
|
|
||||||
./leanote -importPath=github.com/leanote/leanote
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## How to develop leanote
|
## How to develop leanote
|
||||||
|
Reference in New Issue
Block a user