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
Build taskana-web dependency
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 (./taskana/rest/)
/taskana/restmvn clean install
- 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 "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 → 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/)