- Clone or download this repo
- Put the entire folder into a webserver environment (e.g. Apache supporting PHP)
- Run the server script via
cd server; php websocket_server.php
- Open the application in two browser windows (e.g. localhost/websocket-chat) and start chatting!