You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4. Install React dependencies using the [npm](https://www.npmjs.com/) package manager: **npm install**
62
+
3. Install python packages:
63
+
```shell
64
+
cd server
65
+
pip install -r requirements.txt
66
+
```
67
+
4. Install React dependencies using the [npm](https://www.npmjs.com/) package manager:
68
+
```shell
69
+
cd ../client
70
+
npm install
71
+
```
64
72
5. Update the **.env** file with the integration key and other settings.
65
73
> **Note:** Protect your integration key and client secret. You should make sure that the **.env** file will not be stored in your source code repository.
66
74
6. Navigate to [the admin demo Apps and Keys page](https://admindemo.docusign.com/authenticate?goTo=appsAndKeys), add the Redirect URI http://localhost:3000/callback and then hit save
@@ -86,8 +94,16 @@ All installation scripts are located in the **scripts** folder.
86
94
### Manual
87
95
88
96
1. Navigate to the application folder: **`cd sample-app-insurance-python`**
89
-
2. Run the application: **`flask run --port 5001`**
90
-
3. Run npm: **`npm start`**
97
+
2. Run the application:
98
+
```shell
99
+
cd server
100
+
flask run --port 5001
101
+
```
102
+
3. Run npm:
103
+
```shell
104
+
cd ../client
105
+
npm start
106
+
```
91
107
4. Open a browser to **http://localhost:3000**
92
108
93
109
### Using installation scripts
@@ -97,6 +113,18 @@ All installation scripts are located in the **scripts** folder.
97
113
2. Run the application script: **`./run.sh`**
98
114
3. Open a browser to **http://localhost:3000**
99
115
116
+
## Installing anf running the Insurance sample app using Docker
117
+
1. Navigate to the application folder: **`cd sample-app-insurance-python`**
118
+
2. Install dependencies:
119
+
```shell
120
+
docker compose build
121
+
```
122
+
3. Run the app:
123
+
```shell
124
+
docker compose up
125
+
```
126
+
4. Open a browser to **http://localhost:80**
127
+
100
128
### Configuring a Docusign payments gateway
101
129
Docusign offers built-in connections to multiple payment gateways. The payments example in this sample app uses a demo account for the Stripe gateway service.
0 commit comments