Choose and leave only one of the following badge
One Paragraph of project description goes here.
More detailed infos here.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. On a local machine, just get the jar file and execute it For example java -jar pluginmng-0.0.1-SNAPSHOT.jar
If you want to use a specific profile, enter it in the command line For example to use the test profile, just use the command java -Dspring.profiles.active=test -jar pluginmng-0.0.1-SNAPSHOT.jar
To build the docker image, follow the steps:
- Copy docker/Dockerfile in the root folder of the system.
- Be sure that under the root there is target/pluginmng-0.0.1-SNAPSHOT.jar
- Run the command docker build -t pluginmng . (be carefull to use dot at the end)
- Wait the image to be created.
To run the docker image
- Run the docker command: docker run -d pluginmng
The project is developed as a microservice. It is developed on Java 11. The only thinh necessary to run application is the JVM 11 or newer You can run the application by calling: java <app.name.jar> The application is by default using port 6084 There is also a docker file, which can be used to create a docker image.
Give examples
A step by step series of examples that tell you how to get a development env running To install on a standalone system (no docker) just copy the jar file in the choosend working directory. For example copy pluginmng-0.0.1-SNAPSHOT.jar in /tmp/ folder
To build the docker image, follow the steps:
- Copy docker/Dockerfile in the root folder of the system.
- Be sure that under the root there is target/pluginmng-0.0.1-SNAPSHOT.jar
- Run the command docker build -t pluginmng . (be carefull to use dot at the end)
- Wait the image to be created.
- Save the image >docker save pluginmng:latest > pluginmng.tar
- Evetualy zip the pluginmng.tar file
- Copy the image file to the destination server (scp, winscp, etc.
- I have placed the image in /home/simavi/SavedDockerImages)
- Delete the previous version sudo docker image rm pluginmng
- Load the new version sudo docker image load --input pluginmng.tar
- List the images sudo docker image ls
- Run the container
- sudo docker run -p:26084:6084 --add-host=host.docker.internal:host-gateway pluginmng
Example: http://localhost:16084/pluginmng/v3/api-docs
http://localhost:16084/pluginmng/v3/swagger-ui.html
Explain how to run the automated tests for this system
Explain what these tests test and why
Give an example
Explain what these tests test and why
Give an example
Add additional notes about how to deploy this on a live system
- SpringBoot - The Java framework used
- Maven - Dependency Management
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Iacob Crucianu - Role - githubnickname
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- Hat tip to anyone whose code was used
- Inspiration
- etc