Johni0702 / mumble-web

An HTML5 Mumble client
679 stars 151 forks source link

Help with installation #51

Open maikocosta opened 5 years ago

maikocosta commented 5 years ago

Hello How do I install mumble-web? I've tried every way and I can not. Got a step by step?

nsmith1024 commented 5 years ago

i have the same problem i use npm to install it, and also websocketfy. Then i use a web browser to try to connect like this http://www.example.com:64737 but it never connects. Can it work without ssl (I dont have ssl) how do i connect, is that the correct way using that url http://www.example.com:64737?

dirkk0 commented 4 years ago

No, you need to use ssl, but you can use self-signed certificates.

I just verified this on Mac OSX.

Now the server should be running and connectable with any mumble client.

Then, install mumble-web:

git clone https://github.com/johni0702/mumble-web
cd mumble-web
npm install
npm run build

(or with yarn) as stated in the installation

Download or clone the websockify python project. (websockify-js unfortunately does not work).

git clone https://github.com/novnc/websockify.git
cd websockify
python setup.py install

If you don't have key and cert, create these with

sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ./mykey.key -out mycert.crt

Now start websockify:

 sudo websockify --cert=mycert.crt --key=mykey.key --ssl-only --ssl-target --web=../dist 443 localhost:64738

Open a browser with https://localhost:443 and connect.