From 66733819ff1e2eb27321f709f69fb98f13490426 Mon Sep 17 00:00:00 2001 From: StephenOTT Date: Mon, 3 Sep 2018 17:36:33 -0400 Subject: [PATCH] add installation instructions --- README.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/README.md b/README.md index 7b59058..0fa2e25 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,44 @@ JWT Config: If you want to see what happens when you get a access denied, change remove the admin group from the `groupIds` field +# How to install + +If you are building a Spring Boot or generating a JAR wth camunda, you can install the library as follows: + +Add JitPack as a repository source in your build file. + +If you are using Maven, then add the following to your pom.xml + +```xml + +... + + + jitpack.io + https://jitpack.io + + +... +``` + +This snippet will enable Maven dependency download directly from Github.com + +Then add the following dependency: + +```xml +... + + com.github.digitalstate + camunda-rest-jwt-authentication + v0.5 + compile + +``` + +If you are using a existing Docker Container with Camunda / the Shared Engine configuration of Camunda, and you would like to add JWT see: + +1. Tomcat: [`./examples/docker/tomcat`](./examples/docker/tomcat) + # Tomcat Servlet Filter Configuration