GIT

Install package address, execute exe, after the installation is complete, right-click anywhere on the disk to open git bash window.

Git clone xxxx.git

navicat

Use NavICat to install the database visualization tool. Decompress navICat_premium_x64. zip

IDE

Idea is used to download the installation package

JDK

Use JDK1.8, installation package download address

MAVEN

Use 3.8.1, download address

Environment Variable Configuration

Environment variable configurations include JDK and Maven configurations

  • jdk

My computer -> Properties -> Advanced System Settings -> Environment Variables -> System Variables, new variable name JAVA_HOME, variable value is JDK installation directory; Add the corresponding JAVA_HOME to path.

%JAVA_HOME%\bin

%JAVA_HOME%\jre\bin

  • maven

Go to Computer -> Properties -> Advanced System Settings -> Environment Variables -> System Variables and create a new variable named MAVEN_HOME. The value of the variable is the maven installation directory. Add the corresponding MAVEN_HOME to the path.

%MAVEN_HOME%\bin

  • Verify the configuration

To check whether the JDK and Maven basic environment are configured, enter CMD and run MVN -v and Java -version to check the corresponding version

Create a project

Start IDEA, file->open, and import the code you just downloaded

Start the project

  • Run locally, find the corresponding module of the class, directly right-click Main to start
  1. pa-gateway/PaGatewayApplication.java
  2. pa-auth/PaAuthApplication.java
  3. pa-platform-biz/PaPlatformBizApplication.java
  • Docker run

cd pa && mvn clean install -Dmaven.test.skip=true && docker-compose up -d

other

  • spring
  • spring boot
  • spring cloud
  • spring cloud alibaba