From 23ddf717dd329acc1a175be53ae5800cfb2a0b61 Mon Sep 17 00:00:00 2001 From: Maximillian Arruda Date: Wed, 1 Nov 2023 15:12:38 -0300 Subject: [PATCH] feat & docs: improvements on README.md and pom.xml Signed-off-by: Maximillian Arruda --- .sdkmanrc | 3 +++ jnopo-game/README.md | 14 ++++++++++++++ jnopo-game/pom.xml | 8 ++++++++ jnopo-game/src/main/k8s/route.yml | 0 jnopo-talk/.sdkmanrc | 3 +++ 5 files changed, 28 insertions(+) create mode 100644 .sdkmanrc create mode 100644 jnopo-game/src/main/k8s/route.yml create mode 100644 jnopo-talk/.sdkmanrc diff --git a/.sdkmanrc b/.sdkmanrc new file mode 100644 index 0000000..bc36ae5 --- /dev/null +++ b/.sdkmanrc @@ -0,0 +1,3 @@ +# Enable auto-env through the sdkman_auto_env config +# Add key=value pairs of SDKs to use below +java=21-tem diff --git a/jnopo-game/README.md b/jnopo-game/README.md index f906048..5d98c13 100644 --- a/jnopo-game/README.md +++ b/jnopo-game/README.md @@ -59,3 +59,17 @@ If you want to learn more about building native executables, please consult http WebSocket communication channel starter code [Related guide section...](https://quarkus.io/guides/websockets) + +## Deploy on Openshift Developer Sandbox for free + +- create a Openshift Developer Sandbox for free here: https://developers.redhat.com/developer-sandbox ; +- install the `oc` - OpenShift Command Line Interface (CLI); +- get your token and setting up your local machine with a similar command: + ```bash + oc login --token= --server=https:// + ``` +- Execute the maven command using the `openshift` profile: + + ```bash + ./mvnw install -Popenshift + ``` diff --git a/jnopo-game/pom.xml b/jnopo-game/pom.xml index aecd993..e6755ad 100644 --- a/jnopo-game/pom.xml +++ b/jnopo-game/pom.xml @@ -8,6 +8,7 @@ 1.0.0-SNAPSHOT jnopo-game + 1.0.2-SNAPSHOT 3.11.0 17 @@ -142,5 +143,12 @@ native + + openshift + + true + true + + diff --git a/jnopo-game/src/main/k8s/route.yml b/jnopo-game/src/main/k8s/route.yml new file mode 100644 index 0000000..e69de29 diff --git a/jnopo-talk/.sdkmanrc b/jnopo-talk/.sdkmanrc new file mode 100644 index 0000000..bc36ae5 --- /dev/null +++ b/jnopo-talk/.sdkmanrc @@ -0,0 +1,3 @@ +# Enable auto-env through the sdkman_auto_env config +# Add key=value pairs of SDKs to use below +java=21-tem