Skip to content

Conversation

adamnovak
Copy link
Member

This should fix #476 by changing the docs to point at the port we actually run the server from npm run serve on, and documenting how to move it on the command line and why you might need to.

I wanted to move the npm run serve user-facing port you actually need to browse to to be 3001, the same as the npm run start one, but I couldn't work out how to do that while respecting config.json's serverPort and not needing new config for the demo deployment.

Now `npm run serve` should listen on port 3001 as documented in the
README.

Also document how to change the port for `npm run serve`.

This should fix #476.
Actually, we need `npm run serve` to be on port 3000 by default because
we run the demo server with it, and I don't want to set up a real
production configuration for it. But now the docs say what to do if port
3000 is in use, and show you actually going to port 3000 to use the
tool.
@adamnovak adamnovak merged commit 7fed8c0 into master May 15, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

port should be 3001 in the src/server.mjs

1 participant