Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.03 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.03 KB

Red Hat Code Quarkus App

Tests

Development

Api is located in src/main/java UI is located in src/main/resources/web/

Use this command to start dev mode on: http://0.0.0.0:8080 (Api and UI).

(BOOTSTRAP_MAVEN_REPOS=redhat-ga BOOTSTRAP_MAVEN_REPO_REDHAT_GA_URL=https://maven.repository.redhat.com/ga quarkus dev)

Build the library locally:

quarkus build

After building, use this command to start the app in production mode:

(BOOTSTRAP_MAVEN_REPOS=redhat-ga BOOTSTRAP_MAVEN_REPO_REDHAT_GA_URL=https://maven.repository.redhat.com/ga java -jar target/quarkus-app/quarkus-run.jar)

Docker

docker run -i --rm -p 8080:8080 --env-file .env quay.io/redhat-developer/code-quarkus:latest

OpenShift

The Template: ./deploy/openshift/code-quarkus.yaml