From 423e66feedeb8a3086bf9359ab15569a7c6ffc99 Mon Sep 17 00:00:00 2001 From: Connor McCoy <connormccoy@google.com> Date: Wed, 17 Jun 2015 07:49:22 -0700 Subject: [PATCH] [docs] Add build instructions to README, update DB-specific build docs. --- README.md | 11 +++++++++++ mongodb/README.md | 2 +- redis/README.md | 4 ++-- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9dd2f532..bccf0d18 100644 --- a/README.md +++ b/README.md @@ -36,3 +36,14 @@ Getting Started See https://github.com/brianfrankcooper/YCSB/wiki/Core-Properties for the list of available workload properties. + +Building from source +-------------------- + +To build the full distribution, with all database bindings: + + mvn clean package + +To build a single database binding: + + mvn -pl com.yahoo.ycsb:mongodb-binding -am clean package diff --git a/mongodb/README.md b/mongodb/README.md index f6dd8f4c..0f7289d5 100644 --- a/mongodb/README.md +++ b/mongodb/README.md @@ -53,7 +53,7 @@ Download the YCSB zip file and compile: git clone git://github.com/brianfrankcooper/YCSB.git cd YCSB - mvn -pl com.yahoo.ycsb:core,com.yahoo.ycsb:mongodb-binding clean package + mvn -pl com.yahoo.ycsb:mongodb-binding -am clean package ### 4. Run YCSB diff --git a/redis/README.md b/redis/README.md index fea4733d..d2ef806a 100644 --- a/redis/README.md +++ b/redis/README.md @@ -12,7 +12,7 @@ Git clone YCSB and compile: git clone http://github.com/brianfrankcooper/YCSB.git cd YCSB - mvn -pl com.yahoo.ycsb:core,com.yahoo.ycsb:redis-binding clean package + mvn -pl com.yahoo.ycsb:redis-binding -am clean package ### 4. Provide Redis Connection Parameters @@ -36,4 +36,4 @@ Load the data: Run the workload test: ./bin/ycsb run redis -s -P workloads/workloada > outputRun.txt - + -- GitLab