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 → npm run build:prod (./taskana/web/)
- Build taskana-web dependency → mvn clean install (./taskana/web/)
- 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 → mvn clean install (./taskana/rest/)
- Run taskana-rest-spring-example → java -jar taskana-rest-spring-example/target/taskana-rest-spring-example-$Version-SNAPSHOT.jar (./taskana/rest/)
- If you need to debug taskana-rest-spring-example it's needed to copy manually ("./taskana\web\dist" folder to "./rest/taskana-rest-spring-example/target/classes/static")
Run taskana-rest-spring-example [Developer mode] without Login screen, user is: admin/admin
- "taskanaRestUrl": property is "http://localhost:8080" 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 → ng serve -p 4200 (./taskana/web/)
- Modify ./rest/taskana-rest-spring-example/src/main/resources/application.properties devMode=true
- Build taskana-rest-spring-example → mvn clean install (./taskana/rest/)
- Run taskana-rest-spring-example → mvn spring-boot:run (./taskana/rest/)
Customize application
User can apply customizations to some prefedined fields, There is a json file located at taskana\web\src\environments\data-sources\customized-fields.json used to customize some fields.
EN.workbasket.information.lookupField → visible: true means system will use ldap system to validate user and UI will use value lookup field input for workbasket/information path. visible:false means input without validation will be used.
EN.classifications.information.custom1 → visible: true means this file will be shown for classifications/information path. visible: false means input will not been shown.
→ field: "some value" means label for input classifications/information path will be renamed as some value.
{
"EN": {
"workbaskets": {
"information": {
"lookupField": {
"visible": false
},
"custom1": {
"field": "Customized field 1 title",
"visible": true
}
},
"access-items": {
"lookupField": {
"visible": true
},
"custom3": {
"field": "",
"visible": false
}
}
},
"classifications": {
"information": {
"custom1": {
"field": "Classification custom 1",
"visible": true
},
"custom3": {
"field": "",
"visible": false
}
}
}
}
}