enhancement
(User-visible)
The goal is to create a simple installation method for a Docker container. To do this, a shell script will be created that automates the process of building and starting the application using a Docker container and makes it as simple as possible.
Test
What needs to be done?:
Follow the instructions: https://dev.top-logic.com/tl/content/docs/GetStarted/CreateApp/DockerDeploy/
Testing TL Archetype:
- Check out the branch
- In the "tl-archetype-app" module, run "mvn clean install" in the console
- Create a new project folder
- In the new project folder, run "mvn archetype:generate -DarchetypeGroupId=com.top-logic -DarchetypeArtifactId=tl-archetype-app -DarchetypeVersion=7.6.0-SNAPSHOT" in the console.
- In ../src/main/docker, run the createDocker.sh script.
Testing TL-BPE:
- Check out the branch
- In "../com.top_logic.bpe.app/src/main/docker", run the createDocker.sh script.
Expected result:
- Without any additional parameters, a Docker container named "toplogic" should be built and started in both cases. The web server's log output should be visible on the console, and the app should open automatically in a web browser.
- Using the -h parameter should display help.
- Changes to the BuildParameters file should have a direct effect on the Docker container.
- Using the -f parameter should allow you to specify a different BuildParameters file.