kych

OAuth 2.0 API for Swiyu to enable Taler integration of Swiyu for KYC (experimental)
Log | Files | Refs

run.sh (568B)


      1 #!/bin/bash
      2 
      3 if [ "$1" == "clean" ]; then
      4     echo "Building the project"
      5     ./mvnw clean install -DskipTests
      6 fi
      7 
      8 if [ "$1" == "-d" ]; then
      9     echo "Running in debug mode. Attach debugger to port 5005"
     10     ./mvnw spring-boot:run -pl verifier-application -Dspring-boot.run.profiles=local-dockerless -Dspring-boot.run.fork=true -Dspring-boot.run.jvmArguments="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"
     11     exit 0
     12 fi
     13 
     14 echo "Running the application"
     15 ./mvnw spring-boot:run -pl verifier-application -Dspring-boot.run.profiles=local-dockerless