Skip to content

Run and develop locally

Ch3nyang edited this page Dec 24, 2024 · 1 revision

Glitch only supports Node.js 16, while the Client uses Node.js 22. To avoid installing two different versions of Node.js locally, it is recommended that you deploy a development signaling server on Glitch. You can set its address in ./client/.env.development.

You can start the Client in the client folder:

cd client
npm run dev

Visit the address that the command prompt gives to preview.

After you make changes to the code, don't forget to lint and format:

npm run lint
npm run format