Skip to content

The second version of issuetracker product

Latest
Compare
Choose a tag to compare
@AfshinParhizkari AfshinParhizkari released this 22 Jan 21:38
· 9 commits to main since this release

Build and run the project:

  1. In the main directory of project, you can build the project and run the product by following commands:
  • sudo mvn package -Dmaven.test.skip
  • java -jar ./target/issuetracker.jar
  1. Alternatively, in Intellij IDEA you can build the project via Maven Lifecycle(click on package) and run.

  2. On the other hand, run via docker private registry:

  • first of all, deactive https(insecure-registries) via add daemon.json file in docker path:
    cp ./src/main/resources/daemon.json /etc/docker insecure-registries
  • if you have private docker registery on your machine just run the following command to push image:
    sudo mvn clean compile package -Dmaven.test.skip
  • pull the image from private registry:
    docker pull localhost:5000/issuetracker:latest
  • Run the container:
    docker container run -itd --hostname issuetracker --name issue-tracker -p 8080:8080 localhost:5000/issuetracker:latest
  • issuetracker container:
    docker exec -it issue-tracker bash

The main URL of product:
http://localhost:8080/issuetracker/
The web services are in the following link:
http://localhost:8080/issuetracker/api-ui
Connect to h2 database via:
http://localhost:8080/issuetracker/h2
datasource.url= jdbc:h2:mem:issuedb
User=sa
Password=