|
17 hours ago | |
---|---|---|
gradle/wrapper | 2 months ago | |
src | 17 hours ago | |
ssl | 1 month ago | |
.gitignore | 2 months ago | |
README.md | 2 months ago | |
build.gradle | 1 month ago | |
gradlew | 2 months ago | |
gradlew.bat | 2 months ago | |
settings.gradle | 2 months ago |
CREATE SCHEMA `lionerdb` DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
spring:
datasource:
jdbc-url: jdbc:mysql://127.0.0.1:3308/lionerdb?useUnicode=true&characterEncoding=UTF8&serverTimezone=GMT%2B8
username: root
password: secret
Build the launch.json & settings.json files, put them in .vscode folder and paste the following code:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Launch Local",
"request": "launch",
"mainClass": "com.ffii.lioner.LionerApplication",
"console": "internalConsole",
// "projectName": "LIONER",
"vmArgs": "-Xms2g -Xmx4g",
"args": "--spring.profiles.active=db-local,ldap-local,local"
}
]
}
settings.json
{
"java.configuration.updateBuildConfiguration": "interactive",
"java.jdt.ls.java.home": "C:\\java\\jdk-17.0.8",
"java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx4G -Xms100m -Xlog:disable"
}