Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Build & run

...

  1. Build taskana-web application in production mode 


    Code Block
    languagebash
    titlepath: /taskana/web
    npm run build:prod


  2. Build taskana-web dependency

    Code Block
    languagebash
    titlepath: /taskana/web
    ../mvnw clean install -fpl :taskana-web


  3. taskana\web\src\environments\data-sources\environment-information.json contains the definition of the external configuration needed for taskana web application, currently exists next options:

    • "taskanaRestUrl": empty string by default, if you have to change it, just modify with the corresponding REST api url.
       if taskanaRestUrl is empty string, web application will use the same machine where it's running as REST url, for instance if you are running the application at http://localhost:8080 the requests will point to http://localhost:8080/v1/...
    • "taskanaLogoutUrl": empty string by default, if you have to change it, just modify with the corresponding REST api url. This property should point to the logout url desired.
  4. Build taskana -rest project

    Code Block
    languagebash
    titlepath: /taskana/rest
    ./mvnw clean install -f rest


  5. Run taskana-rest-spring-example-boot


    rest
    Code Block
    languagebash
    titlepath: /taskana
    ./
    javamvnw spring-jarboot:run taskana-rest-spring-example-boot/target/-pl :taskana-rest-spring-example-boot.jar
    


Run taskana-rest-spring-example [Developer mode] without Login screen, user is: admin/admin

  1. Run web application in developer mode


    Code Block
    languagebash
    titlepath: /taskana/web
    ng serve


  2. Modify ./rest\taskana-rest-spring-example-boot\src\main\resources\application.properties  devMode=true
  3. Build taskana-rest-spring-example-boot


    Code Block
    languagebash
    titlepath: /taskana/rest
    ./mvnw clean install -fpl :taskana-rest-spring-example-boot -am


  4. Run taskana-rest-spring-example example-boot

    Code Block
    languagebash
    titlepath: /taskana/rest
    ./mvnw spring-boot:run -pl :taskana-rest-spring-example-boot


Before creating a Pull request

...