mdn / samples-server

MDN samples server; used for samples that can't be hosted in-place on MDN, plus back-end server-side code for samples that need it.
https://developer.mozilla.org/
Creative Commons Zero v1.0 Universal
957 stars 931 forks source link

how to run it #103

Open akay777 opened 4 years ago

akay777 commented 4 years ago

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.

Ibadichan commented 3 years ago

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.