From 7a68073babf8ba167477e67153fd3b34c5c89be9 Mon Sep 17 00:00:00 2001 From: at15 Date: Tue, 9 Jan 2018 23:45:05 -0800 Subject: [PATCH] [doc] oltpbench has one page doc in wiki - https://github.com/benchhub/forks/issues/1 --- .gitignore | 6 +++++- doc/.gitignore | 2 ++ doc/dev-setup.md | 19 ++++++++++++++++++- 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 doc/.gitignore diff --git a/.gitignore b/.gitignore index 18b43b946..18dd077f1 100644 --- a/.gitignore +++ b/.gitignore @@ -19,4 +19,8 @@ results *~ # maven output -target \ No newline at end of file +target + +# IDEA +.idea +*.iml \ No newline at end of file diff --git a/doc/.gitignore b/doc/.gitignore new file mode 100644 index 000000000..a51bb4385 --- /dev/null +++ b/doc/.gitignore @@ -0,0 +1,2 @@ +ojdbc14.jar +.account.txt \ No newline at end of file diff --git a/doc/dev-setup.md b/doc/dev-setup.md index 307c813f5..18531917e 100644 --- a/doc/dev-setup.md +++ b/doc/dev-setup.md @@ -1,5 +1,13 @@ # Development Environment Setup +There is a one page official wiki https://github.com/oltpbenchmark/oltpbench/wiki + +## Usage + +.travis.yml could be a start point ... + +wonder where is the distributed test described in the paper, ssh into server and collect metrics etc. + ## DB Just use docker at first, might have very bad result using default configuration, @@ -7,7 +15,9 @@ but easy to test if things are correct locally. ## IDE -IDEA is the best choice, but due to some jars are not public accessable, it is not working properly. +IDEA is the best choice, but due to some jars are not public available, it is not working properly. + +- mark `tests` directory as test source root, it is not using standard naming ### Oracle @@ -16,3 +26,10 @@ IDEA is the best choice, but due to some jars are not public accessable, it is n - 10.2.0.1.0 - http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-10201-088211.html - and you need Oracle account to download it +- `mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.1.0 -Dpackaging=jar -Dfile=lib/ojdbc14-10.2.jar -DgeneratePom=true` + - `mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.1.0 -Dpackaging=jar -Dfile=ojdbc14.jar -DgeneratePom=true` + +````bash +[INFO] Installing /home/at15/workspace/src/github.com/benchhub/oltpbench/doc/ojdbc14.jar to /home/at15/.m2/repository/com/oracle/ojdbc14/10.2.0.1.0/ojdbc14-10.2.0.1.0.jar +[INFO] Installing /tmp/mvninstall7312583839796949925.pom to /home/at15/.m2/repository/com/oracle/ojdbc14/10.2.0.1.0/ojdbc14-10.2.0.1.0.pom +```` \ No newline at end of file