選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 
cyril.tsui 9886d8b780 update 1年前
gradle/wrapper first commit 1年前
src update 1年前
.gitignore Add data entities 1年前
README.md Add project creation 1年前
build.gradle Invoice related commit 1年前
gradlew first commit 1年前
gradlew.bat first commit 1年前
settings.gradle Add project entities 1年前

README.md

TSMS Backend

Getting started

  1. Create a schema named tsmsdb in MySQL workbench
  2. Create a launch.json file and put it into the .vscode folder
{
    "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"
      }
    ]
}
  1. Create a settings.json file and put it into the .vscode folder (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"
}
  1. Run and Debug “Launch Local”

Using gradle

This project can also be run using gradle.

Running the application

After creating the table in MySQL, run

./gradlew bootRun --args='--spring.profiles.active=db-local'