From 42baa67e5d98fb817798cda5a34113d002021e4f Mon Sep 17 00:00:00 2001 From: "MSI\\User" Date: Thu, 28 Dec 2023 14:45:35 +0800 Subject: [PATCH] added readme --- README.md | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..963d420 --- /dev/null +++ b/README.md @@ -0,0 +1,39 @@ +# Backend readme +1. Create a schema named "tsmsdb" in MySQL workbench +2. Put the launch.json file into the .vscode folder +3. Put the settings.json file into the .vscode folder +4. Run and Debug "Launch Local" + +# launch.json +``` +{ + "version": "0.2.0", + "configurations": [ + { + "type": "java", + "name": "TsmsApplication", + "request": "launch", + "mainClass": "com.ffii.tsms.TsmsApplication", + "projectName": "TSMS-backend" + }, + { + "type": "java", + "name": "Launch Local", + "request": "launch", + "mainClass": "com.ffii.tsms.TsmsApplication", + "console": "internalConsole", + "projectName": "TSMS-backend", + "args": "--spring.profiles.active=db-local,ldap-local" + } + ] +} +``` +# settings.json +You may need to change some settings depending on your development environment +``` +{ + "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 -Xmx2G -Xms100m -Xlog:disable" +} +``` \ No newline at end of file