diff --git a/docs/nix_web_workflows.md b/docs/nix_web_workflows.md --- a/docs/nix_web_workflows.md +++ b/docs/nix_web_workflows.md @@ -42,7 +42,7 @@ yarn dev ``` -You should now be able to load the web app in your web browser at http://localhost/comm/. +You should now be able to load the web app in your web browser at http://localhost:3000/comm/. 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”). @@ -62,7 +62,7 @@ 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.