You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd /home/pi
git clone https://github.com/openhardwarecoza/LaserWeb3.git
cd LaserWeb3
npm install
Manually start the server
cd /home/pi/LaserWeb3
node server.js
Start the frontend
Open Chrome (or Chromium) on any PC in your network.
Open URL RasPi-IP:8000 (replace RasPi-IP with the IP of your RasPi)
Click on Comms tab
Click on "Server Connection"
Change Server-IP to RasPi-IP:8000 (replace RasPi-IP with the IP of your RasPi)
Click connect
You should see a green message "Server connected" in the log area (bottom right)
Setup Systemd to automatically start the server
First, open laserweb3.service in a text editor and correct the path for node according to your system (probably /usr/bin/node instead of /usr/local/bin/node).