Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
making committed Jan 7, 2021
1 parent 093880f commit 3582147
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ rsc wss://rsocket-demo.herokuapp.com/rsocket --stream --route searchTweets -d Tr

> To get `wss` work, environment variable `JAVA_HOME` must be set. (since 0.4.0)<br>
> If `JAVA_HOME` is set, system property `-Djava.library.path=${JAVA_HOME}/jre/lib/<platform>` is automatically added.
> **This requirement is no longer necessary since 0.7.0.**

This comment has been minimized.

Copy link
@yschimke

yschimke Jan 7, 2021

curious: Why not just delete the requirement?

This comment has been minimized.

Copy link
@making

making Jan 8, 2021

Author Owner

The message is left for users who are still using rsc less than 0.7. It will be removed after several versions have been released.


## Log options

Expand Down Expand Up @@ -418,6 +420,10 @@ Aaronic
The demo application is [here](https://github.com/making/demo-rsocket-security).
Note that since RSocket Java 1.0.3, [username field length is extended](https://github.com/rsocket/rsocket-java/pull/938).
rsc 0.6.0 uses RSocket Java 1.0.2. To support extended username, rsc 0.7.0 which uses RSocket Java 1.1.0 or above is required.
### [Simple Authentication Type](https://github.com/rsocket/rsocket/blob/master/Extensions/Security/Simple.md)
Expand Down Expand Up @@ -526,28 +532,16 @@ b3=5f035ed7dd21129b105564ef64c90731-105564ef64c90731-d
## Build
```
./mvnw clean package -Pgraal -DskipTests
./mvnw clean package -Pnative -DskipTests
```
A native binary will be created in `target/classes/rsc-(osx|linux)-x86_64` depending on your OS.
For linux binary, you can use Docker:
```
docker run --rm \
-v "$PWD":/usr/src \
-v "$HOME/.m2":/root/.m2 \
-w /usr/src \
oracle/graalvm-ce:19.2.1 \
bash -c 'gu install native-image && ./mvnw package -Pgraal -DskipTests'
```
```
docker run --rm \
-v "$PWD":/usr/src \
-w /usr/src \
oracle/graalvm-ce:19.2.1 \
./target/classes/rsc-linux-x86_64 --version
./mvnw spring-boot:build-image -DskipTests
docker run --rm rsc:<version> --version
```
## License
Expand Down

0 comments on commit 3582147

Please sign in to comment.