- Docker
- MSSQL
- Bash
- Java
./mgmt/bin/prepare_deployment.sh <xmlModelPath> <targetPath>
- creates a directory if it does not exist
- according to the <xmlModelPath> file, which needs to be in the same structure as files in examples/**/*.xml, generates in <targetPath> a complete deployment of an application - DB scripts creating a repository, a Dockerfile, and all contents for it to host Node.js backend app and for serving static HTML&JS frontend
- you should see a message 'Preparation successful, run deploy.sh in <targetPath>'
<targetPath>/deploy.sh
- deploys the DB repository in the configured MSSQL DB
- creates a Docker image with the Node.js backend application, and frontend static-serving server running on port 80. The application is available at <hostname>/app/<tableName>.html
<targetPath>/runApp.sh
Runs the docker container, after stopping all other running containers with this image