Skip to content

Commit f254c0b

Browse files
authored
Update README.md
Signed-off-by: Inbar Gazit <[email protected]>
1 parent 5298e21 commit f254c0b

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,28 @@ For a list of code examples that use the Admin API, see the [How-to guides overv
107107
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**.
108108
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`.
109109
**Note:** Protect your personal information. Please make sure that application.json will not be stored in your source code repository.
110-
1. Run the launcher: `java -Dspring.profiles.active=dev -jar target/code-examples-java-1.0-SNAPSHOT.war`
110+
111+
#### Multiple code examples, Authorization Code Grant, and JWT Grant:
112+
1. $ cd <Quickstart folder>
113+
1. $ mvn package -Dmaven.test.skip=true
114+
1. $ java -Dspring.profiles.active=dev -jar target/code-examples-java-1.0-SNAPSHOT.war
115+
For Windows:
116+
1. # $ mvn package -D"maven.test.skip"="true"
117+
1. # $ java -D"spring.profiles.active"="dev" -jar target/code-examples-java-1.0-SNAPSHOT.war
118+
119+
#### Authorization Code Grant embedded signing example:
120+
121+
1. $ cd <Quickstart folder>/Quick_ACG
122+
1. $ mvn spring-boot:run -Drun.profiles=dev
123+
For Windows:
124+
1. # $ mvn spring-boot:run -D"run.profiles"="dev"
125+
126+
#### JWT grant remote signing example:
127+
1. $ cd <Quickstart folder>/'JWT Console App'
128+
1. $ mvn compile
129+
1. $ mvn exec:java -Dexec.mainClass="com.docusign.jwtconsoleapp.JWTConsoleApp"
130+
For Windows
131+
1. $ mvn exec:java -D"exec.mainClass"="com.docusign.jwtconsoleapp.JWTConsoleApp"
111132

112133

113134
### Installation steps for JWT Grant authentication

0 commit comments

Comments
 (0)