Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 775 Bytes

README.md

File metadata and controls

40 lines (23 loc) · 775 Bytes

poly-world

A simple world to have fun in.

image

Dev Guide

  • npm i
  • npm run dev

http://localhost:3000

Backend uWebSocket

  • 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

Enviroment Variables

  • Create .env.local file in root.
NEXT_PUBLIC_WS_URL = ws://localhost:9001

Deploy to Heroku

heroku login

git push heroku main

heroku logs --tail

image