- Node.js
- Make sure no processes are listening on port 8080
- For macOS/Linux users, run
sudo kill $(lsof -t -i :8080)
- For macOS/Linux users, run
These instructions use the Battleship case study as an example -- change the directory name and apply the same steps to the other case studies accordingly.
cd BattleshipTo install dependencies and build the web application, run
npm install
npm run buildTo start the web application, run
npm startand visit http://localhost:8080 on your web browser.
As all case studies involve more than one client role, open multiple web browser instances of http://localhost:8080 to interact with the multiparty protocol.