Skip to content

Commit

Permalink
feat(doc): add hint about how to run oss with gradle 7
Browse files Browse the repository at this point in the history
  • Loading branch information
aurrelhebert committed Oct 10, 2022
1 parent 1ade8ac commit 56296f7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,16 @@ oss.token.ttl Delay in ms during which authentication tokens will be considered

JAVA_OPTS="-Doss.keystore.dir=/var/tmp/oss-test -Doss.init.sshkeys=... -Doss.gensecret.sshkeys=... -Doss.putsecret.sshkeys=... -Doss.acl.sshkeys=..." gradle jettyRun

When using oss with Gradle version above of 7.0, `gradle jettyRun` is not available anymore. However you can still download a version of jetty compatible with the jdk8: https://search.maven.org/artifact/org.eclipse.jetty/jetty-runner. Download the jetty jar file of a version `9.X`.

Then write a `run.sh` file which would look like:

```sh
## run.sh file
export JAVA_OPTS="-Doss.keystore.dir=/var/tmp/oss-test -Doss.init.sshkeys=46:94:d7:......:26:d9:ac -Doss.gensecret.sshkeys=46:94:d7:......:26:d9:ac -Doss.putsecret.sshkeys=46:94:d7:......:26:d9:ac -Doss.acl.sshkeys=46:94:d7:......:26:d9:ac"
echo "runing OSS war "
java $JAVA_OPTS -jar jetty/jetty-runner-9.4.49.v20220914.jar --port 8080 --host 127.0.0.1 --path /oss build/libs/oss-1.0.1.war
```

## 4. Have K persons send their master secret split to OSS using the following command:

Expand Down

0 comments on commit 56296f7

Please sign in to comment.