Note: This site is currently "Under construction". I'm migrating to a new version of my site building software. Lots of things are in a state of disrepair as a result (for example, footnote links aren't working). It's all part of the process of building in public. Most things should still be readable though.

Start an app on a different port

Instead of running

Code

npm start

prepend it with a `PORT` variable like this as a single command:

Code

PORT=3030 npm start

The site will be served at:

Code

http://localhost:3030/