You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
kelvin.yau a64e158bc0 Updated archive function пре 15 часа
.cursor Updated archive function пре 15 часа
docs Refining the PO stock in report пре 3 месеци
gradle/wrapper initial commit пре 1 година
python Bag3 пре 1 месец
src item trace пре 18 часа
.gitignore pick record download + precondition checking пре 1 месец
AGENTS.md added some purchase chart пре 3 месеци
README.md tsms to fpsms пре 1 година
build.gradle gradlew bootRun пре 4 месеци
deployLocal.bat auto gen jo in schedule пре 7 месеци
gradle.properties A4 printer routing & register, new col "brand" is added to printer table, plz fill in with 'Zebra', 'Canon' or 'Brother' to make it works пре 4 месеци
gradlew initial commit пре 1 година
gradlew.bat initial commit пре 1 година
settings.gradle dependency for kotlin пре 1 година

README.md

FPSMS Backend

Getting started

  1. Create a schema named fpsmsdb in MySQL workbench
  2. Create a launch.json file and put it into the .vscode folder
{
    "version": "0.2.0",
    "configurations": [
      {
        "type": "java",
        "name": "FpsmsApplication",
        "request": "launch",
        "mainClass": "com.ffii.fpsms.fpsmsApplication",
        "projectName": "FPSMS-backend"
      },
      {
        "type": "java",
        "name": "Launch Local",
        "request": "launch",
        "mainClass": "com.ffii.fpsms.fpsmsApplication",
        "console": "internalConsole",
        "projectName": "FPSMS-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'