Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 985 Bytes

DEV_MODE.md

File metadata and controls

33 lines (26 loc) · 985 Bytes

Dev mode for Apicurio Studio using quarkus and IDE debugging

All components depend on a keycloak server

docker run -d -p 8090:8080 apicurio/apicurio-studio-auth

Make sure the KC's apicurio client lists the UI's address as a valid redirection URI

Rebuild the local dependencies

mvn clean install -am -pl platforms/quarkus/api -pl platforms/quarkus/ws

To start the API

qApiPath=platforms/quarkus/api
mvn $(test -f "$qApiPath/java.env" && sed -e "/^$/d" -e "/^#/d" "$qApiPath/java.env" | xargs -r -n1 printf -- "-D%s ") -f $qApiPath/pom.xml quarkus:dev

To start the WS

qWsPath=platforms/quarkus/ws
mvn $(test -f "$qWsPath/java.env" && sed -e "/^$/d" -e "/^#/d" "$qWsPath/java.env" | xargs -r -n1 printf -- "-D%s ") -f $qWsPath/pom.xml quarkus:dev

To start the UI (Tested with node 10)

Read https://www.apicur.io/studio/docs/setting-up-a-development-environment for the main KC setup steps

cd front-end/studio
yarn start