Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 761 Bytes

File metadata and controls

28 lines (22 loc) · 761 Bytes

STScript: Case Studies

Prerequisites

  • Node.js
  • Make sure no processes are listening on port 8080
    • For macOS/Linux users, run sudo kill $(lsof -t -i :8080)

How to use

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 Battleship

To install dependencies and build the web application, run

npm install
npm run build

To start the web application, run

npm start

and 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.