samples-server icon indicating copy to clipboard operation
samples-server copied to clipboard

how to run it

Open akay777 opened this issue 5 years ago • 1 comments

i'm new to this code, can anyone help me with the flow (i.e. how to run it). i have installed npm for running index file but it was just a guess. a little help will be appreciated.

akay777 avatar Aug 04 '20 07:08 akay777

Hi akay777.

  1. Clone this repo https://github.com/mdn/samples-server to the Desktop.
  2. Open your terminal and typecd Desktop/samples-server/s/webrtc-from-chat/.
  3. Type npm install in the terminal.
  4. Type node chatserver.js in the terminal to start websocket server.
  5. Open index.html file in browser in any preferred way.

Ibadichan avatar Oct 28 '20 15:10 Ibadichan