https://github.com/redhat-developer-demos/quarkus-petclinic
https://github.com/redhat-developer-demos/quarkus-petclinic
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/redhat-developer-demos/quarkus-petclinic
- Owner: redhat-developer-demos
- License: apache-2.0
- Created: 2021-01-27T09:52:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-03-28T19:34:10.000Z (over 1 year ago)
- Last Synced: 2025-04-08T06:51:10.507Z (over 1 year ago)
- Language: CSS
- Size: 495 KB
- Stars: 18
- Watchers: 7
- Forks: 50
- Open Issues: 4
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
= Quarkus Petclinic project
== Run Locally
=== Create css
[source, bash]
----
./mvnw compile -Pcss
----
=== Dev mode
[source, bash]
----
./mvnw compile quarkus:dev
----
=== Production jar
Start docker container:
[source, bash]
----
docker run --rm=true -e POSTGRES_USER=petclinic -e POSTGRES_PASSWORD=petclinic -e POSTGRES_DB=petclinic -p 5432:5432 postgres:14
----
Start the application:
[source, bash]
----
java -Dquarkus.datasource.jdbc.url=jdbc:postgresql://localhost:5432/petclinic -Dquarkus.datasource.username=petclinic -Dquarkus.datasource.password=petclinic -jar target/quarkus-app/quarkus-run.jar
----
== Kubernetes
[source, bash]
----
./db.sh
./petclinic.sh
----
== Create a new Container
Need to have an account to quay.io with writting permissions to rhdevelopers org.
[source, bash]
----
./mvnw package -DskipTests -Dquarkus.container-image.push=true
----