Skip to content

Commit

Permalink
Fix port in deprecated dev_environment.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashoat authored Oct 14, 2024
1 parent 4c7e525 commit f548cd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/dev_environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -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”).

Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit f548cd2

Please sign in to comment.