From 19d5e2114838a3a47ef765b82e88efb8c7b68e20 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Sat, 27 Nov 2021 22:42:27 -0500 Subject: [PATCH] add run.sh and docs --- README.md | 6 +++++- run.sh | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100755 run.sh diff --git a/README.md b/README.md index 9789559..c21f4b6 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,11 @@ Clone and compile: If the build was successful, you can execute the binary and start the server: - java -jar build/libs/wormhole-1.0-SNAPSHOT.jar + ./run.sh + +It will run in the background. You can see the process via: + + ps auxw|grep wormhole Note: The default port of the Wormhole is 7070. This can be changed in source and recompiled if needed. diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..6a01ddf --- /dev/null +++ b/run.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +echo "Starting wormhole server..." +java -jar build/libs/wormhole-1.0-SNAPSHOT.jar &