yarn start
- starts local app, connects to heroku serveryarn dev
- starts local app, connects to local server (you must start this locally, on the other repo)
You'll need to create an .env.local
file with in the root of the project with some variables such as the socket URI and the stream URL. Example file:
REACT_APP_SOCKET_URI=https://club
REACT_APP_STREAM_URL=https://mystreamURL.something
REACT_APP_CAM_CHANGE_RATE=blahala
Add ?admin=1
to the URL to bring up admin controls. When no environment var is set, password defaults to "dev".
Add ?debug=1
to show FPS and latency in the corner
- When sending a chat message, you can send "test-error-1" to emulate a server error