From f548cd214bc430eeb67bb8a2262283e1896d219c Mon Sep 17 00:00:00 2001 From: Ashoat Tevosyan Date: Mon, 14 Oct 2024 11:58:58 -0400 Subject: [PATCH] Fix port in deprecated dev_environment.md --- docs/dev_environment.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/dev_environment.md b/docs/dev_environment.md index c8e6f25005..4c521fdbb4 100644 --- a/docs/dev_environment.md +++ b/docs/dev_environment.md @@ -505,7 +505,7 @@ cd web yarn dev ``` -You should now be able to load the web app in your web browser at http://localhost/webapp/. +You should now be able to load the web app in your web browser at http://localhost:3000/webapp/. This command will start two processes. One is `webpack-dev-server`, which will serve the JS files. `webpack-dev-server` also makes sure the website automatically hot-reloads whenever any of the source files change. The other process is `webpack --watch`, which will build the `app.build.cjs` file, as well as rebuilding it whenever any of the source files change. The `app.build.cjs` file is consumed by the Node server in order to pre-render the initial HTML from the web source (“Server-Side Rendering”). @@ -550,7 +550,7 @@ cd landing yarn dev ``` -You should now be able to load the landing page in your web browser at http://localhost/commlanding/. +You should now be able to load the landing page in your web browser at http://localhost:3000/commlanding/. This runs the same two processes as the web app, but for the landing page. Note that the `landing.build.cjs` file (similar to the web app’s `app.build.cjs` file) is consumed by the Node server.