Skip to content

Commit 9310c9e

Browse files
committed
improve .env instructions
1 parent d3c5863 commit 9310c9e

File tree

8 files changed

+14
-6
lines changed

8 files changed

+14
-6
lines changed

advanced-integration/.env

-2
This file was deleted.

advanced-integration/.env.example

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Create an application to obtain credentials at
2+
# https://developer.paypal.com/dashboard/applications/sandbox
3+
4+
CLIENT_ID="YOUR_CLIENT_ID_GOES_HERE"
5+
APP_SECRET="YOUR_SECRET_GOES_HERE"

advanced-integration/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.env

advanced-integration/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Instructions
44

5-
1. Add `CLIENT_ID` and `APP_SECRET` to the `.env` file
5+
1. Rename `.env.example` to `.env` and update `CLIENT_ID` and `APP_SECRET`.
66
2. Run `npm install`
77
3. Run `npm start`
88
4. Open http://localhost:8888

standard-integration/.env

-2
This file was deleted.

standard-integration/.env.example

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Create an application to obtain credentials at
2+
# https://developer.paypal.com/dashboard/applications/sandbox
3+
4+
CLIENT_ID="YOUR_CLIENT_ID_GOES_HERE"
5+
APP_SECRET="YOUR_SECRET_GOES_HERE"

standard-integration/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.env

standard-integration/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This folder contains example code for a standard PayPal integration using both t
55
## Instructions
66

77
1. Replace `test` in `public/index.html` with your app's client-id
8-
2. Add `CLIENT_ID` and `APP_SECRET` to the `.env` file
8+
2. Rename `.env.example` to `.env` and update `CLIENT_ID` and `APP_SECRET`.
99
3. Run `npm install`
1010
4. Run `npm start`
1111
5. Open http://localhost:8888

0 commit comments

Comments
 (0)