samples-server
samples-server copied to clipboard
how to run it
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.
Hi akay777.
- Clone this repo https://github.com/mdn/samples-server to the Desktop.
- Open your terminal and type
cd Desktop/samples-server/s/webrtc-from-chat/. - Type
npm installin the terminal. - Type
node chatserver.jsin the terminal to start websocket server. - Open index.html file in browser in any preferred way.