|
123456789101112131415161718192021222324252627282930313233343536373839 |
- # 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"
- }
- ```
|