To run this application you must
1. Docker
- Download Docker Here. Hint: Enable Hyper-V feature on windows and restart;
- Then open powershell and check:
docker info
or check docker version
docker -v
or docker compose version
docker-compose -v
2. Spring boot app
- Clone the repository:
git clone https://github.com/KondratovIvan/employee-manager
- Build the maven project:
mvn clean install
- Running the containers:
This command will build the docker containers and start them.
docker-compose up
Note
All commands should be run from project root (where docker-compose.yml locates)
- If you have to want to see running containers. Checklist docker containers
docker container list -a
or
docker-compose ps
3. Postman
Download and install the Postman request client to send HTTP requests
4. Stop app
- Stop containers:
docker-compose down