Skip to content

Commit

Permalink
Remove .env file, update README
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-yau-ttd committed Sep 8, 2023
1 parent 201fb36 commit 8fe8c36
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 0 additions & 4 deletions examples/google-esp-integration/with_sdk_v3/.env

This file was deleted.

10 changes: 8 additions & 2 deletions examples/google-esp-integration/with_sdk_v3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ For an example application without using the UID2 SDK, see [Server-Only UID2 Int

The easiest way to try the example is to do the following:
1. Open this repo in VS Code
1. Populate `UID2_API_KEY` and `UID2_CLIENT_SECRET` in your `.env` file.
1. Create a `.env` file in this folder and populate `UID2_API_KEY` and `UID2_CLIENT_SECRET`:
```
UID2_BASE_URL="http://localhost:8080"
UID2_JS_SDK_URL="http://localhost:9091/uid2-sdk.js"
UID2_API_KEY="<your-integ-API-key>"
UID2_CLIENT_SECRET="<your-integ-client-secret>"
```
1. Click the Run and Debug tab or hit `Crtl+Shift+D`
1. Select `Launch ESP (Chrome)` from the configuration dropdown
1. Click `Start Debugging` or hit F5
Expand Down Expand Up @@ -40,7 +46,7 @@ The following table lists the environment variables that you must specify to sta
| `UID2_API_KEY` | string | Your UID2 authentication key for the UID2 service specified in `UID2_BASE_URL`. |
| `UID2_CLIENT_SECRET` | string | Your UID2 client secret for the UID2 service specified in `UID2_BASE_URL`. |
| `AD_TAG_URL` | string | The ad tag URL to test ad requests. |
| `UID2_JS_SDK_URL` | string | The UID2 JS SDK. If this optional parameter it not provided, it will default to the integ URL specified in `server.js` |
| `UID2_JS_SDK_URL` | string | The UID2 JS SDK. If this optional parameter it not provided, it will default to the integ URL specified in `server.js` |
Output similar to the following indicates that the example application is up and running.
Expand Down

0 comments on commit 8fe8c36

Please sign in to comment.