-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
df02470
commit 2ffe150
Showing
2 changed files
with
20 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,37 @@ | ||
## 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 | ||
Generate Camel Models and Api from Camel sources to Typescript in karavan-core | ||
2. Karavan-core | ||
Front-end Camel Models and Api | ||
3. Karavan-Designer | ||
KaravanDesigner UI component | ||
4. Karavan-app | ||
Karavan Application | ||
5. Karavan-demo | ||
Demo of Karavan use cases | ||
|
||
Karavan Cloud Application | ||
5. Karavan-vscode | ||
VS Code extension based on Karavan Designer | ||
|
||
## How to build | ||
1. Generate Camel Models and API for Typescript | ||
``` | ||
cd karavan-generator | ||
mvn clean compile exec:java -Dexec.mainClass="org.apache.camel.karavan.generator.KaravanGenerator" -f karavan-generator | ||
``` | ||
|
||
2. Build VS Code extension | ||
2. Install Karavan core library | ||
``` | ||
cd karavan-vscode | ||
yarn install | ||
yarn run compile // dev | ||
yarn run package //prod | ||
cd karavan-core | ||
npm install | ||
``` | ||
|
||
3. 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 . | ||
mvn clean package -Dquarkus.profile=public | ||
``` | ||
|
||
## Development Karavan app | ||
You can run your application in dev mode that enables live coding using: | ||
- Backend | ||
```shell script | ||
cd karavan-app | ||
mvn quarkus:dev | ||
``` | ||
- Frontend | ||
```shell script | ||
cd karavan-core/ | ||
npm install | ||
|
||
cd karavan-app/src/main/webui/ | ||
npm install | ||
npm start | ||
``` | ||
mvn quarkus:dev -Dquarkus.profile=public | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters