update read me

This commit is contained in:
siddontang 2014-07-21 10:46:11 +08:00
parent 6e295c59a9
commit 1e28c6be6d
1 changed files with 13 additions and 6 deletions

View File

@ -29,7 +29,9 @@ Ledisdb is a high performance NoSQL like Redis based on LevelDB written by go. I
sh build_leveldb.sh sh build_leveldb.sh
It will default install leveldb at /usr/local/leveldb and snappy at /usr/local/snappy It will default install leveldb at /usr/local/leveldb and snappy at /usr/local/snappy.
LedisDB use the modification LevelDB for better performance, see [here](https://github.com/siddontang/ledisdb/wiki/leveldb-source-modification).
+ Set LEVELDB_DIR and SNAPPY_DIR to the actual install path in dev.sh. + Set LEVELDB_DIR and SNAPPY_DIR to the actual install path in dev.sh.
@ -40,7 +42,7 @@ Ledisdb is a high performance NoSQL like Redis based on LevelDB written by go. I
go install ./... go install ./...
## Run ## Server Example
./ledis-server -config=/etc/ledis.json ./ledis-server -config=/etc/ledis.json
@ -52,7 +54,7 @@ Ledisdb is a high performance NoSQL like Redis based on LevelDB written by go. I
ledis 127.0.0.1:6380> get a ledis 127.0.0.1:6380> get a
"1" "1"
## Lib ## Package Example
import "github.com/siddontang/ledisdb/ledis" import "github.com/siddontang/ledisdb/ledis"
l, _ := ledis.Open(cfg) l, _ := ledis.Open(cfg)
@ -63,7 +65,7 @@ Ledisdb is a high performance NoSQL like Redis based on LevelDB written by go. I
db.Get(key) db.Get(key)
## Replication ## Replication Example
Set slaveof in config or dynamiclly Set slaveof in config or dynamiclly
@ -78,7 +80,7 @@ See benchmark.md for more.
## Todo ## Todo
+ Admin See [Issues todo](https://github.com/siddontang/ledisdb/issues?labels=todo&page=1&state=open)
## Links ## Links
@ -95,7 +97,12 @@ Gmail: cenqichao@gmail.com
Gmail: chendahui007@gmail.com Gmail: chendahui007@gmail.com
Gamil: tiaotiaoyly@gmail.com Gmail: cppgohan@gmail.com
Gmail: tiaotiaoyly@gmail.com
Gmail: wyk4true@gmail.com
## Feedback ## Feedback