spring
bootstrap
Lombok
Flayway
MyBatis Generator
- yum update
- yum install git
- mkdir App (ls)
- cd App/
- git clone ----
- yum install maven
- java -version
- mvn -v
- mvn clean compile package
- cp src/main/resources/application.properties src/main/resources/application-production.properties
- vim src/main/resources/application-production.properties
- mvn package
- java -jar -Dspring.profiles.active=production target/community-0.0.1-SNAPSHOT.jar
- ps -aux | grep java
- git pull
mvn flyway:migrate
mvn -Dmybatis.generator.overwrite=true mybatis-generator:generate