Skip to content

Run manually

Kiet Hoang Gia edited this page Dec 18, 2024 · 4 revisions

1. Pull and run MySQL image

- Open terminal

- Go to project folder

  • Run 2 command under:
  • Command 1: pull image
docker image pull mysql:8.3.0
  • Command 2: Run image
docker run --name kdp-mysql-container -d -e MYSQL_ROOT_PASSWORD=123456 -e MYSQL_DATABASE=Vocabulary_KDP -p 6603:3306 mysql:8.3.0

2. Run application

  • Run project in your IDE or run with CLI with ./mvnw spring-boot:run

==> Access http://localhost:9091/swagger-ui/index.html to see Api document, read more Usage wiki

Clone this wiki locally