This guide is an instruction to set up development environment to integration project.
- Command Line Developer Tools
- JDK 11
We adopted lombok
to make Java code better.
Click Here to learn how to install this plugin for Intellij IDEA.
$ git clone XXX
Run following command, if you update pre-commit.sh script, you need run this command again.
sh ./scripts/git-hook-setup.sh
Run following command on master branch
docker search mysql
docker pull mysql
docker run --name integration-mysql8 -p 3307:3306 -e MYSQL_ROOT_PASSWORD=123456 -d mysql
docker exec -it integration-mysql8 /bin/bash
mysql -u root -p
create database demo_mysql
The application will be running at port 8080.
$ ./gradlew build
$ ./gradlew test