-
Notifications
You must be signed in to change notification settings - Fork 46
Manual installation (Windows)
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.
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.
- 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.
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.
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 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).
This project is maintained by volunteers. I am sure the developers would be thankful for any sort of donation, they put in an incredible amount of effort into this project.