Skip to content

Manual installation (Windows)

Claudio Prezzi edited this page Apr 15, 2019 · 10 revisions

The defaukt way to use LaserWeb4 is installing one of the binaries (see: https://github.com/LaserWeb/LaserWeb4-Binaries). This will install an application which can be started by clicking an icon.

If you wish to manually install the server and run the frontend (website) on a separate PC, you can use the following instructions.

Install lw.comm-server on Windows 7 and above

We are assuming from a vanilla Windows installation so your mileage may vary depending on things you already have installed. If you find conflicts, please let us know via a GitHub Issue.

Prerequisites:

LaserWeb install instructions:

Start a windows command prompt by typing "cmd" in windows search. Then:

cd \
git clone https://github.com/LaserWeb/lw.comm-server.git
cd lw.comm-server
npm install

If you get errors on npm install you could try npm install serialport. If done, try npm install again. If it still doesn't work, open an issue.

(Note: We test on SerialPort v4.0.7 - if you have issues make sure that you use the same)

The software is now installed.

To start the server:

Start a windows command prompt by typing "cmd" in windows search. In the command prompt window type:

cd \lw.comm-server
node server.js

Note: NodeJS will ask you to grant it access the first time you run the server.

To start the client (frontend):

To open the frontend on another computer:

Start Google Chrome
Type "server-ip:8000" in the address bar

You should now see the software in the Chrome browser window.

Click the Comms tab
Click on "Server Connection"
Enter your Server-IP:8000 into the Server-IP field
Click connect

You should get a green message "Server connected" in the Log area (bottom right).

Clone this wiki locally