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/webmvn clean install
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.
Build taskana-rest project
path: /taskana/restmvn clean install
- Run taskana-rest-spring-examplepath: /taskana/rest
java -jar taskana-rest-spring-example-boot/target/taskana-rest-spring-example-boot.jar
Run taskana-rest-spring-example [Developer mode] without Login screen, user is: admin/admin
- Run web application in developer modepath: /taskana/web
ng serve
- Modify ./rest\taskana-rest-spring-example-boot\src\main\resources\application.properties devMode=true
- Build taskana-rest-spring-examplepath: /taskana/rest
mvn clean install
Run taskana-rest-spring-example
path: /taskana/restmvn spring-boot:run
Before creating a Pull request
- 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/webnpm run build:prod
Run linting
path: /taskana/webnpm run lint
Run tests locally.
path: /taskana/webnpm run test
Run End-to-End tests. (Taskana needs to be running)
path: /taskana/webnpm run e2e