update readme.md

This commit is contained in:
life
2014-05-09 18:03:58 +08:00
parent cd7915f92b
commit 2605b86e00
2 changed files with 10 additions and 6 deletions

2
.gitignore vendored
View File

@ -2,6 +2,8 @@
pkg pkg
bin2 bin2
bin/i18n bin/i18n
bin/leanote-linux
bin/leanote-mac
bin/release bin/release
bin/tmp bin/tmp
bin/test bin/test

View File

@ -98,25 +98,27 @@ Install golang and set GOPATH
### Install revel ### Install revel
``` ```
go get github.com/revel/revel $> go get github.com/revel/revel
go get github.com/revel/cmd/revel $> go get github.com/revel/cmd/revel
``` ```
### Get leanote ### Get leanote
``` ```
go get github.com/leanote/leanote/app $> go get github.com/leanote/leanote/app
``` ```
### Build/Run leanote via revel ### Build/Run leanote via revel
cp conf/app.conf-default to conf/app.conf ```
cp conf/routes-default to conf/routes $> cp conf/app.conf-default to conf/app.conf
$> 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
``` ```
revel run github.com/leanote/leanote $> revel run github.com/leanote/leanote
``` ```
Welcome to join with us and contribute your code to leanote! Thanks. Welcome to join with us and contribute your code to leanote! Thanks.