Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

README.md 1.1 KiB

2 lat temu
123456789101112131415161718192021222324252627282930313233343536373839
  1. # Backend readme
  2. 1. Create a schema named "tsmsdb" in MySQL workbench
  3. 2. Put the launch.json file into the .vscode folder
  4. 3. Put the settings.json file into the .vscode folder
  5. 4. Run and Debug "Launch Local"
  6. # launch.json
  7. ```
  8. {
  9. "version": "0.2.0",
  10. "configurations": [
  11. {
  12. "type": "java",
  13. "name": "TsmsApplication",
  14. "request": "launch",
  15. "mainClass": "com.ffii.tsms.TsmsApplication",
  16. "projectName": "TSMS-backend"
  17. },
  18. {
  19. "type": "java",
  20. "name": "Launch Local",
  21. "request": "launch",
  22. "mainClass": "com.ffii.tsms.TsmsApplication",
  23. "console": "internalConsole",
  24. "projectName": "TSMS-backend",
  25. "args": "--spring.profiles.active=db-local,ldap-local"
  26. }
  27. ]
  28. }
  29. ```
  30. # settings.json
  31. You may need to change some settings depending on your development environment
  32. ```
  33. {
  34. "java.configuration.updateBuildConfiguration": "interactive",
  35. "java.jdt.ls.java.home": "C:\\java\\jdk-17.0.8",
  36. "java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx2G -Xms100m -Xlog:disable"
  37. }
  38. ```