Files Missing or Something?
usman-combinaryclix opened this issue · 3 comments
Hi I tried to clone your repository and also executed the npm install. And moved the files in public folder to root folder.
I think socket.io folder is missing or the path? Can you please explain a little how can I use your demo to work on my local server.
I am using XAMPP + PHP for my application!
Hi @usman-combinaryclix here's the steps to get up and running:
git clone https://github.com/Basscord/video-chat.git
npm install
npm start
- Navigate a browser window to localhost:3000
- Navigate a 2nd browser window to localhost:3000
The project is written in Javascript, and doesn't use XAMPP, PHP, or Apache. There's no need to move any files into a directory served by Apache. The project should run in any directory, as is.
Socket.io will be found within the project root node_modules
directory, which is created after you run npm install
.
The only gotcha is, once you get up and running, most browsers require HTTPS to use the camera & microphone anywhere besides localhost
, so if you want to run this app in a serious manner, you'll want to learn about deploying Node.js apps to an HTTPS environment.
Let me know if you need anything further. Thanks!
Hi,
Some people are using http://numb.viagenie.ca as a quick and easy way to set up a STUN server. You can try that, or you can look into deploying a CoTURN server.
Best of luck!