Skip to content

Manual installation (Windows)

Claudio Prezzi edited this page Apr 9, 2017 · 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:

  • Uninstall old versions of node.js (version 0.12 etc) - we are going to need a clean install of Node 6 LTS
  • Download and install Node 6.x LTS from https://nodejs.org/en/download/
  • Install Google Chrome if not already installed
  • Download and install Git for Windows from https://git-scm.com/download/win
  • Upgrade your Smoothie based controller to the edge build of the firmware (firmware-cnc.bin)
    or GRBL based controller to [version 1.1f] (https://github.com/gnea/grbl/releases). LaserWeb wont work with old builds.

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
npm start

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 COM tab
Click on <Server Connection>
Enter 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