This repository was archived by the owner on Jan 29, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 68
General Installation
Claudio Prezzi edited this page Dec 10, 2016
·
12 revisions
Here you get instructions to install LaserWeb3 on different platforms.
###LaserWeb consists of two parts:
- Backend: A node-server which serves the webpage for LaserWeb and is a bridge for frontend to USB (serial) communication.
- Frontend: The LaserWeb web-application which should be opened in Google Chrome (or Chromium) browser.
###Requirement
- LaserWeb needs Nodejs v6.x LTS to run:
Go to https://nodejs.org/en/download for download and install instructions for your platform. - You need Git to download and update LaserWeb:
Go to https://git-scm.com/download for download an install instructions for your platform. - You should have Google Chrome (or Chromium) browser to run LaserWeb:
Go to https://www.google.com/chrome/browser/desktop/index.html for download and install instructions for your platform.
###Install LaserWeb3 Open a command window and enter the following commands:
git clone https://github.com/LaserWeb/LaserWeb3.git
cd LaserWeb3
npm install
node server.js
If you get errors on ´npm install´ or node server.js you could try npm install serialport. If you are on linux, you could also try apt-get install build-essentials and then again npm install. If that still doesn't work, open an issue.
###Update LaserWeb
git pull
###Start the server
Navigate to the folder, where LaserWeb is installed and type
cd
node server.js
###Run LaserWeb
Open Chrome (or Chromium) and navigate to the address localhost:8000
You should now see the LaserWeb application.
For support: Please join the Google+ Community LaserWeb