- IDEA Project SDK选择 build.gradle.kts中指定的JDK版本
- IDEA Settings - Build, Execution, Deployment - Build Tools - Gradle - Build and run using IntelliJ IDEA
docker pull nacos/nacos-server
docker run -d `
--name nacos `
-e MODE=standalone `
-e NACOS_AUTH_ENABLE=false `
-e NACOS_AUTH_TOKEN="SW52YWxpZFRva2VuQmFzZTY0U3RyaW5nV2l0aDMyQnl0ZXNMZW5ndGg=" `
-e NACOS_AUTH_IDENTITY_KEY="serverIdentity" `
-e NACOS_AUTH_IDENTITY_VALUE="security" `
-p 8080:8080 `
-p 8848:8848 `
-p 9848:9848 `
nacos/nacos-server:latest
# 启动依赖服务
docker-compose -f compose-dev.yaml up -d
# 首次启动或改动sql后,手动执行,生成jooq模板代码
.\gradlew.bat jooqCodegen
# build时如果spotlessCheck失败,手动执行
.\gradlew.bat spotlessApply
