Skip to content

Commit cc6194d

Browse files
authored
Merge pull request #14862 from guardian/update-running-prod-server-locally
Update `run-prod-bundle-locally.md`
2 parents d6fb056 + c16dfa7 commit cc6194d

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

dotcom-rendering/docs/development/run-prod-bundle-locally.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,16 @@ production build locally.
66
To do this:
77

88
$ make build
9-
$ node dist/server.js
9+
$ make ci
1010

11-
_Note, you will need AWS `frontend` credentials to run the service._
11+
The PROD server should start on its default port 9000.
1212

13-
You can then use the provided GET endpoints for testing:
13+
You can then use the provided POST endpoints for testing e.g.:
1414

1515
/Article
16-
/AMPArticle
16+
/Front
1717

18-
Similar to the dev server, both endpoints support a `url` parameter to customise
19-
the article used. E.g.
18+
Unlike the DEV server, the DCAR PROD server does _not_ implement GET endpoints.
2019

21-
GET /Article/https://www.theguardian.com/my-test-article.
22-
23-
_Note, PROD Frontend doesn't use these endpoints. Instead, it `POSTs` data to
24-
DCR and receives a JSON response. A tool like Postman can help if you want to
25-
replicate this exactly._
20+
As in production, it expects the Frontend JSON data model to be
21+
`POSTed` to DCAR.

0 commit comments

Comments
 (0)