Skip to content

Commit 704a86e

Browse files
committed
Running SDC together with DCR on local
1 parent 957dd9f commit 704a86e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,13 @@ pnpm prestart
4040
```
4141
pnpm start
4242
```
43+
44+
### Running SDC together with DCR on local
45+
46+
If you are making making changes in dotcom-rendering against support-dotcom-components, you will probably want to get your local version of DCR making its HTTP requests to the local version of SDC. For this start your local SDC, notice the port it's running at, and start your DCR with
47+
48+
```
49+
SDC_URL=http://127.0.0.1:8082 make dev
50+
```
51+
52+
with the correct value for the port.

0 commit comments

Comments
 (0)