-
Notifications
You must be signed in to change notification settings - Fork 3
Importing a Project
Ayhan Rashidov edited this page Sep 8, 2022
·
1 revision
- Pull the latest changes from Kronos project.
- To run the application against HANA DB instance you should replace the parameters HANA_URL, HANA_USERNAME and HANA_PASSWORD in
/releng/server/env-variable.envfile with the ones that are correct for your HANA DB Instance.
- If using HANA Trial Instance make sure that it is in
RUNNINGmode. It has to be started manually every day.
Navigate as following:<SUBACCOUNT> -> <CLOUD FOUNDRY SPACE> -> SAP HANA Cloud -> Manage SAP HANA Cloud.
- Build the project with the command
mvn -T 1C clean install -Dmaven.test.skip=true -DskipTests -Dmaven.javadoc.skip=true
- Start the Docker application (service).
- Go to
/releng/serverdirectory and build a docker image with the commanddocker build -t ghcr.io/codbex/kronos .
- To run the docker image execute
docker run -p 8080:8080 -p 8000:8000 --rm -e JPDA_ADDRESS=0.0.0.0:8000 -e JPDA_TRANSPORT=dt_socket --env-file env-variables.env ghcr.io/codbex/kronos
- To run the docker image with DEBUG mode enabled execute
docker run --name dirigible --rm -e JPDA_ADDRESS=0.0.0.0:8000 -e JPDA_TRANSPORT=dt_socket -p 8000:8000 -p 8080:8080 -p 8081:8081 --env-file env-variables.env ghcr.io/codbex/kronos
-
Kronos should be reachable on
http://localhost:8080/services/v4/web/ide/index.htmlwith username and password as set on the tomcat config.
- Go to
Importtab where you can import compressed zip file of the desired project.
- Drag and drop the file in the import area and press
Upload Allbutton.
- The process could take several minutes depending on the size of the project. (There is a limitation of the project's size that can be uploaded though)
- Refresh the browser and the project directory structure should be visible in the
Workspacetab.
- Once the project is imported press
Publish Allbutton to start the processing of artifacts.
- During the operation of synchronizing and processing you can check the
Problems view(Problems Facade) for any errors that might pop up.