Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
scannillo committed Nov 5, 2019
1 parent 5f388b7 commit f98eab2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This repository represents a sample merchant server for a merchant integrating w
**Note:** The `BraintreePayPalValidator` module is still in development and not meant for public consumption.

## Build and run locally
To build and run locally, use the command: `./mvnw spring-boot:run -Dspring-boot.run.profiles=local`. You will need to have Maven installed.
To build and run locally, use the command: `./mvnw spring-boot:run -Dspring-boot.run.profiles=local`. Running this command will install Maven and all necessary dependencies.

If everything worked, you should be able to hit `http://localhost:5000/uat?countryCode=US`.

Expand Down
7 changes: 5 additions & 2 deletions bin/main/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ server.port=${PORT:5000}
spring.profiles.active=production
logging.level.org.springframework=INFO

authorization.us=${US_AUTH}
authorization.uk=${UK_AUTH}
url=https://api.ppcpn.stage.paypal.com

us.client.id=${US_CLIENT_ID}
us.client.secret=${US_CLIENT_SECRET}
gb.client.id=${GB_CLIENT_ID}
gb.client.secret=${GB_CLIENT_SECRET}
7 changes: 5 additions & 2 deletions bin/test/application-test.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
spring.profiles.active=test
authorization.us=test-us-auth
authorization.uk=test-uk-auth

us.client.id=test-us-client-id
us.client.secret=test-us-client-secret
gb.client.id=test-gb-client-id
gb.client.secret=test-gb-client-secret

0 comments on commit f98eab2

Please sign in to comment.