Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.49 KB

IDE.md

File metadata and controls

43 lines (34 loc) · 1.49 KB

< Back

Work with rShop on Spring Tool Suite IDE

Prerequisites:

Steps

  1. On the command line, clone the repository

    git clone https://github.com/roanrobersson/rshop-be
  2. 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
  3. On the Spring Tool Suite, import the project

    File > Import > Maven > Existing Maven project
    
  4. 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. 
    
  5. 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