A simple world to have fun in.
npm i
npm run dev
npm run dev-socket
(local dev)npm run build-socket
npm run start-socket
(production)
Local dev runs on: ws://localhost:9001
Production hosted on: wss://poly-world-75fe1d48fc05.herokuapp.com
- Create
.env.local
file in root.
NEXT_PUBLIC_WS_URL = ws://localhost:9001
heroku login
git push heroku main
heroku logs --tail