Check out and setup
Checking out the code
Requirements: git
- Create an account on https://github.com/
Create a remote fork of https://github.com/Taskana/TaskanaAdapter
Fork A Repo (Github Help)
Configure git to automatically adjust line endings with each commit
(optional, but recommended)
git config --global core.autocrlf input
Create a local clone
# using https git clone https://github.com/<yourname>/TaskanaAdapter.git # using ssh git clone git@github.com:<yourname>/TaskanaAdapter.git
Confiure git to automatically validate your commit messages (more information: Contribution Guide)
cd TaskanaAdapter git config core.hooksPath qa/hooks
Optional: Create a symlink to
.git/hooks
in order to support external toolsrm -rf .git/hooks ln -s $PWD/qa/hooks .git/hooks
Create a remote for the upstream project so that it is later easier to retrieve changes from the main repository.
# using https git remote add upstream https://github.com/Taskana/TaskanaAdapter.git # using ssh git remote add upstream git@github.com:Taskana/TaskanaAdapter.git
Build the Application(s)
Requirements: Java 11, Maven
We use maven wrapper. For windows please use mvnw.cmd
instead of the bash script
Full build
./mvnw clean install
Start the application(s)
Requirements: Java 11, Maven, Node 16.13.1
TASKANAAdapterCamundaSpringBootExample
./mvnw spring-boot:run -pl :taskana-adapter-camunda-spring-boot-example
CamundaOutboxExample
./mvnw spring-boot:run -pl :camunda-outbox-example-boot
TASKANA
You should now be able to create tasksin Camunda (localhost:8081/example-context-root) and subsequently see and complete the created task in TASKANA (localhost:8080/taskana | localhost:4200).