Skip to content

Importing a Project

Ayhan Rashidov edited this page Sep 8, 2022 · 1 revision
  1. Pull the latest changes from Kronos project.

  2. 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.env file with the ones that are correct for your HANA DB Instance.

  3. If using HANA Trial Instance make sure that it is in RUNNING mode. It has to be started manually every day.

    Navigate as following: <SUBACCOUNT> -> <CLOUD FOUNDRY SPACE> -> SAP HANA Cloud -> Manage SAP HANA Cloud.

  4. Build the project with the command mvn -T 1C clean install -Dmaven.test.skip=true -DskipTests -Dmaven.javadoc.skip=true

  5. Start the Docker application (service).

  6. Go to /releng/server directory and build a docker image with the command docker build -t ghcr.io/codbex/kronos .

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

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

  9. Kronos should be reachable on http://localhost:8080/services/v4/web/ide/index.html with username and password as set on the tomcat config.

  10. Go to Import tab where you can import compressed zip file of the desired project.

  11. Drag and drop the file in the import area and press Upload All button.

  12. 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)

  13. Refresh the browser and the project directory structure should be visible in the Workspace tab.

  14. Once the project is imported press Publish All button to start the processing of artifacts.

  15. During the operation of synchronizing and processing you can check the Problems view (Problems Facade) for any errors that might pop up.

Clone this wiki locally