An open API service indexing awesome lists of open source software.

https://github.com/redhat-developer/code.quarkus.redhat.com

code.quarkus.redhat.com
https://github.com/redhat-developer/code.quarkus.redhat.com

Last synced: 7 months ago
JSON representation

code.quarkus.redhat.com

Awesome Lists containing this project

README

          

# Red Hat Code Quarkus App

[![Tests](https://github.com/redhat-developer/code.quarkus.redhat.com/actions/workflows/build.actions.yml/badge.svg)](https://github.com/redhat-developer/code.quarkus.redhat.com/actions/workflows/build.actions.yml)

# 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).
```bash
(BOOTSTRAP_MAVEN_REPOS=redhat-ga BOOTSTRAP_MAVEN_REPO_REDHAT_GA_URL=https://maven.repository.redhat.com/ga quarkus dev)
```

Build the library locally:
```bash
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

```bash
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](./deploy/openshift/code-quarkus.yaml)