Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 16 Next »

Build & run

Run npm install on ./taskana/web directory

Run taskana-rest-spring-example [Production mode] with Login screen

  • Build taskana-web application in production mode 
    path: /taskana/web
     npm run build:prod
  • Build taskana-web dependency

    path: /taskana/web
    mvn clean install
  • Modify taskana\rest\taskana-rest-spring-example\src\main\resources\static\environments\data-sources\environment-information.json file taskanaRestUrl property to  "http://localhost:8080", depending on your port number.
  • Build taskana-rest project

    path: /taskana/rest
     mvn clean install
  • Run taskana-rest-spring-example
    path: /taskana/rest
     java -jar taskana-rest-spring-example/target/taskana-rest-spring-example-$Version-SNAPSHOT.jar 

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

  • "taskanaRestUrl": property is "https://taskana-rest.mybluemix.net" by default, if you need to change it modify: taskana\web\src\environments\data-sources\environment-information.json file
  • Run web application in developer mode
    path: /taskana/web
     ng serve
  • Modify ./rest/taskana-rest-spring-example/src/main/resources/application.properties  devMode=true
  • Build taskana-rest-spring-example
    path: /taskana/rest
     mvn clean install
  • Run taskana-rest-spring-example 

    path: /taskana/rest
     mvn spring-boot:run

Before creating a PR

  • Taskana web application runs Jslint, tests and production bundling before deployment, to make sure that your code is 100% functional run next commands before creating a PR.
    • Linting and create production code.

      path: /taskana/web
       npm run build:prod
    • Run tests locally.

      path: /taskana/web
       npm run test

  • No labels