update read me

This commit is contained in:
siddontang 2014-07-28 14:20:18 +08:00
parent 539b5df181
commit 7fed98b957
1 changed files with 7 additions and 0 deletions

View File

@ -26,9 +26,13 @@ Create a workspace and checkout ledisdb source
cd src/github.com/siddontang/ledisdb cd src/github.com/siddontang/ledisdb
#set build and run environment
source dev.sh
make make
make test make test
## LevelDB support ## LevelDB support
+ Install leveldb and snappy. + Install leveldb and snappy.
@ -78,6 +82,9 @@ Choosing a store database to use is very simple, you have two ways:
You must known that changing store database runtime is very dangerous, LedisDB will not guarantee the data validation if you do it. You must known that changing store database runtime is very dangerous, LedisDB will not guarantee the data validation if you do it.
## Server Example ## Server Example
//set run environment if not
source dev.sh
ledis-server -config=/etc/ledis.json ledis-server -config=/etc/ledis.json