Enhancement
(User-visible)
A simple installation method for a Docker container is to be created. For this purpose, a shell script will be created which automates the building and launching of the application with a Docker container and makes it as simple as possible.
Test
What to do..:
Follow the instructions: https://dev.top-logic.com/tl/content/docs/GetStarted/CreateApp/DockerDeploy/
Test TL Archetype:
- Check out Branch
- In the "tl-archetype-app" module, run "mvn clean install" on the console
- Create a new project folder
- In the new project folder execute on the console "mvn archetype:generate -DarchetypeGroupId=com.top-logic -DarchetypeArtifactId=tl-archetype-app -DarchetypeVersion=7.6.0-SNAPSHOT".
- In ../src/main/docker" run the script createDocker.sh.
Test TL-BPE:
- Check out branch
- In "../com.top_logic.bpe.app/src/main/docker" run the script createDocker.sh.
Expected result:
- Without any other parameters, a Docker container named "toplogic" should be built and started in both cases. On the console, you should see the log output of the web server and the app should automatically open in a web browser.
- Help should be displayed with the -h parameter.
- Changes in the BuildParameters file should have a direct effect on the Docker container.
- It should be possible to specify a different BuildParameters file with the -f parameter.