Skip to content

Commit

Permalink
feat & docs: improvements on README.md and pom.xml
Browse files Browse the repository at this point in the history
Signed-off-by: Maximillian Arruda <[email protected]>
  • Loading branch information
dearrudam committed Nov 1, 2023
1 parent 2f0ad6d commit 23ddf71
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .sdkmanrc
Original file line number Diff line number Diff line change
@@ -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
14 changes: 14 additions & 0 deletions jnopo-game/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<YOUR TOKEN> --server=https://<OPENSHIFT URL WITH PORT>
```
- Execute the maven command using the `openshift` profile:

```bash
./mvnw install -Popenshift
```
8 changes: 8 additions & 0 deletions jnopo-game/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>jnopo-game</artifactId>
<version>1.0.2-SNAPSHOT</version>
<properties>
<compiler-plugin.version>3.11.0</compiler-plugin.version>
<maven.compiler.release>17</maven.compiler.release>
Expand Down Expand Up @@ -142,5 +143,12 @@
<quarkus.package.type>native</quarkus.package.type>
</properties>
</profile>
<profile>
<id>openshift</id>
<properties>
<quarkus.kubernetes-client.trust-certs>true</quarkus.kubernetes-client.trust-certs>
<quarkus.kubernetes.deploy>true</quarkus.kubernetes.deploy>
</properties>
</profile>
</profiles>
</project>
Empty file.
3 changes: 3 additions & 0 deletions jnopo-talk/.sdkmanrc
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 23ddf71

Please sign in to comment.