Skip to content

Latest commit

 

History

History
50 lines (45 loc) · 1.11 KB

DEV.md

File metadata and controls

50 lines (45 loc) · 1.11 KB

Project structure

  1. Karavan-generator
    Generate Camel Models and Api from Camel sources to Typescript in Karavan-designer
  2. Karavan-Designer
    KaravanDesigner UI component and simple web app
  3. Karavan-vscode
    VS Code extension based on KaravanDesigner
  4. Karavan-app
    Karavan Application
  5. Karavan-demo
    Demo of Karavan use cases

How to build

  1. Generate Camel Models and API for Typescript
mvn clean compile exec:java -Dexec.mainClass="org.apache.camel.karavan.generator.KaravanGenerator" -f karavan-generator
  1. Build VS Code extension
cd  karavan-vscode
yarn install
yarn run compile // dev
yarn run package //prod
  1. Build Karavan app
  • Build JVM Mode
cd karavan-app
mvn clean package -Dquarkus.container-image.build=true
  • Build native
DOCKER_BUILDKIT=1 docker build -f karavan-app/src/main/docker/Dockerfile.multistage -t apache/camel-karavan .

Development Karavan app

You can run your application in dev mode that enables live coding using:

  • Backend
cd karavan-app
mvn quarkus:dev
  • Frontend
cd karavan-app/src/main/webapp/
npm start