- Java ^11 (full JDK not a JRE)
- Maven ^3.8.1
- Docker ^4.9.0
- Spring Tool Suite ^4
-
On the command line, clone the repository
git clone https://github.com/roanrobersson/rshop-be
-
On the command line, Create a Docker's MySQL container
docker run --name MySQL-rShop -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=true -d mysql:8.0.29
-
On the Spring Tool Suite, import the project
File > Import > Maven > Existing Maven project
-
On the Spring Tool Suite, install the Lombok plugin
Help > Install New Software In the "Work with" field type: "https://projectlombok.org/p2" Check the Lombok box and proceed with the installation by clicking Next in the next windows... You need to actually quit Eclipse and start it again; the regular restart is not good enough.
-
On the Spring Tool Suite, import and active the formatter profile
Project root > Properties > Java Code Style > Formatter - Check the "Enable project specific settings" box - Import the file found in this path: rshop/docs/files/rshop-formatter-profile.xml - Apply and close