Commit 7a43bc64 authored by Tyler Neely's avatar Tyler Neely

update readme with rocksdb installation procedures

parent c4bdb651
rust-rocksdb rust-rocksdb
============ ============
### running rust-rocksdb has been tested with version 3.8.1 on linux and OSX.
Install RocksDB. rust-rocksdb has been tested with version 3.8.1 on linux and OSX. Crate version 0.0.3 should work on the 1/8/15 nightly and 1.0.0 alpha.
###### Prerequisites
```bash
wget https://github.com/facebook/rocksdb/archive/rocksdb-3.8.tar.gz
tar xvf rocksdb-3.8.tar.gz && cd rocksdb-rocksdb-3.8 && make static_lib
```
From here, you probably want to ```sudo make install``` to copy the library to the system library directory. If you don't want to, or cannot due to your system's security policy, there are many other ways to load a library. One quick and dirty method that may work on linux and OSX is to invoke your code from your project's root directory like so: ```LD_PRELOAD=/path/to/librocksdb.a cargo run```
### Running
###### Cargo.toml ###### Cargo.toml
```rust ```rust
[dependencies] [dependencies]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment