diff --git a/README.md b/README.md index eb15affd813..61cb0c9dea0 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,8 @@ We've developed Zipkin with Scala 1. `ssh [server]` 1. `unzip zipkin*.zip` 1. `mkdir -p /var/log/zipkin` -1. Start the collector and query daemon. +1. `zipkin-scribe/scripts/collector.sh -f zipkin-scribe/config/collector-prod.scala` +1. `zipkin-server/scripts/query.sh -f zipkin-server/config/query-prod.scala` You can also run the collector and query services through SBT. diff --git a/zipkin-scribe/src/scripts/collector.sh b/zipkin-scribe/src/scripts/collector.sh new file mode 100755 index 00000000000..96a36ced0ce --- /dev/null +++ b/zipkin-scribe/src/scripts/collector.sh @@ -0,0 +1,3 @@ +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +VERSION=@VERSION@ +java -cp "$DIR/../libs/*" -jar $DIR/../zipkin-server_2.9.1-$VERSION.jar $* \ No newline at end of file diff --git a/zipkin-server/src/scripts/query.sh b/zipkin-server/src/scripts/query.sh new file mode 100755 index 00000000000..96a36ced0ce --- /dev/null +++ b/zipkin-server/src/scripts/query.sh @@ -0,0 +1,3 @@ +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +VERSION=@VERSION@ +java -cp "$DIR/../libs/*" -jar $DIR/../zipkin-server_2.9.1-$VERSION.jar $* \ No newline at end of file