A demo for HMI architecture
Rename the .env.example file to .env and change the data there according to your installation-environment.
zsIt's also important to make sure that your machine has a way to run docker-compose files.
In root of the repo, run the following command:
docker compose -f ./docker-compose.dev.yml watchThis should start your entire dev environment. You can then access the frontend through the provided port you've wrote in the .env file.
Make sure to install all of the docker images on your offline environment before proceeding. You can install a docker image offline by using the following command:
sudo docker load -i <Image file name>.dockerIn your frontend environment, run the following command:
docker compose -f ./docker-compose.prod.frontend.yml up -dNow the frontend server should start automatically when the machine boots up.
In your backend environment, run the following command:
docker compose -f ./docker-compose.prod.backend.yml up -dNow the backend server should start automatically when the machine boots up.
In order to run both of the production servers at once, you can use the run-prod.sh script. You can also use the stop-compose.sh script to stop both the production and development compose files.
When pushing a pull request/a branch to main, we highly recommend to you squish your branch into one pull request, with a general title, and the description as the changelog. Make sure to write your title in a way that would correctly bump the version as described in the section bellow.
The action will parse the new commits since the last tag using the semantic-release conventions.
semantic-release uses the commit messages to determine the type of changes in the codebase. Following formalized conventions for commit messages, semantic-release automatically determines the next semantic version number.
By default semantic-release uses Angular Commit Message Conventions.
Here is an example of the release type that will be done based on a commit messages:
| Commit message | Release type |
|
Patch Release |
|
Minor Release |
|
Major Release |
If no commit message contains any information, then the bump would be considered as major release by default.