libbymiller / libbybot_eleven

Eleventh incarnation of libbybot, a cheapo presence robot, currently living in an IKEA lamp
26 stars 4 forks source link

Determining if setup of server was done correctly #1

Open cvaldez83 opened 4 years ago

cvaldez83 commented 4 years ago

Hi, a noobie here... I've followed the installation instructions for the server setup. I did the last step of typing "nohup nodejs server.js > /dev/null 2>&1 &" but not sure what is suppose to happen. Before moving on to setting up the pi, how do I know if the server is working?

libbymiller commented 4 years ago

ahoy, good question - it's actually quite easy to check. Open this in one browser window (Chrome, ideally, on a laptop or phone):

https://yourserver:8443/libbybot/bot11.html#1234

(it should ask for your camera / mic). This is the one that the Pi will use when you have made it. Open this in another window, can be the same browser or a different one, same device is ok if it's a laptop:

https://yourserver:8443/libbybot/remote11.html#1234

The "#1234" can be anything but must be the same in both.

If it doesn't work, check your certificates and so on - there should be some info in the nohup.out file or in one of the browser consoles.

Hope that helps.