Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 10 mēnešiem
pirms 10 mēnešiem
pirms 10 mēnešiem
pirms 10 mēnešiem
pirms 10 mēnešiem
pirms 10 mēnešiem
pirms 10 mēnešiem
pirms 10 mēnešiem
pirms 10 mēnešiem
pirms 10 mēnešiem
pirms 10 mēnešiem
pirms 10 mēnešiem
pirms 10 mēnešiem
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # FPSMS Backend
  2. ## Getting started
  3. 1. Create a schema named `fpsmsdb` in MySQL workbench
  4. 2. Create a `launch.json` file and put it into the `.vscode` folder
  5. ```json
  6. {
  7. "version": "0.2.0",
  8. "configurations": [
  9. {
  10. "type": "java",
  11. "name": "FpsmsApplication",
  12. "request": "launch",
  13. "mainClass": "com.ffii.fpsms.fpsmsApplication",
  14. "projectName": "FPSMS-backend"
  15. },
  16. {
  17. "type": "java",
  18. "name": "Launch Local",
  19. "request": "launch",
  20. "mainClass": "com.ffii.fpsms.fpsmsApplication",
  21. "console": "internalConsole",
  22. "projectName": "FPSMS-backend",
  23. "args": "--spring.profiles.active=db-local,ldap-local"
  24. }
  25. ]
  26. }
  27. ```
  28. 3. Create a `settings.json` file and put it into the `.vscode` folder
  29. *(You may need to change some settings depending on your development environment)*
  30. ```json
  31. {
  32. "java.configuration.updateBuildConfiguration": "interactive",
  33. "java.jdt.ls.java.home": "C:\\java\\jdk-17.0.8",
  34. "java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx2G -Xms100m -Xlog:disable"
  35. }
  36. ```
  37. 4. Run and Debug "Launch Local"
  38. ## Using gradle
  39. This project can also be run using gradle.
  40. ### Running the application
  41. After creating the table in MySQL, run
  42. ```shell
  43. ./gradlew bootRun --args='--spring.profiles.active=db-local'
  44. ```