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

https://github.com/redhat-developer-demos/quarkus-petclinic


https://github.com/redhat-developer-demos/quarkus-petclinic

Last synced: about 1 year ago
JSON representation

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
----