diff --git a/README.md b/README.md index ac43b0d..97cc6ea 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,28 @@ For a list of code examples that use the Admin API, see the [How-to guides overv 1. Add the launcher’s redirect URI. Under **Additional settings**, select **+ ADD URI**, and set a redirect URI of http://localhost:8080/login&type=acg. Select **SAVE**. 1. Set a name and email address for the signer. In application.json, save an email address as `DS_SIGNER_EMAIL` and a name as `DS_SIGNER_NAME`. **Note:** Protect your personal information. Please make sure that application.json will not be stored in your source code repository. -1. Run the launcher: `java -Dspring.profiles.active=dev -jar target/code-examples-java-1.0-SNAPSHOT.war` + +#### Multiple code examples, Authorization Code Grant, and JWT Grant: +1. $ cd +1. $ mvn package -Dmaven.test.skip=true +1. $ java -Dspring.profiles.active=dev -jar target/code-examples-java-1.0-SNAPSHOT.war + For Windows: +1. # $ mvn package -D"maven.test.skip"="true" +1. # $ java -D"spring.profiles.active"="dev" -jar target/code-examples-java-1.0-SNAPSHOT.war + +#### Authorization Code Grant embedded signing example: + +1. $ cd /Quick_ACG +1. $ mvn spring-boot:run -Drun.profiles=dev +For Windows: +1. # $ mvn spring-boot:run -D"run.profiles"="dev" + +#### JWT grant remote signing example: +1. $ cd /'JWT Console App' +1. $ mvn compile +1. $ mvn exec:java -Dexec.mainClass="com.docusign.jwtconsoleapp.JWTConsoleApp" + For Windows +1. $ mvn exec:java -D"exec.mainClass"="com.docusign.jwtconsoleapp.JWTConsoleApp" ### Installation steps for JWT Grant authentication