This repository has been 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
Install: MacOSX
Peter van der Walt edited this page Jul 26, 2016
·
12 revisions
###Prerequisites:
- Download and install Node.js version Node 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/mac
- Upgrade your Smoothie based controller to the Master Branch build of the firmware. This is NB - LaserWeb wont work with old builds, or the most recent edge build.
- Uninstall old versions of node.js (version 0.12 etc) - we are going to need a clean install of Node 4 LTS
###LaserWeb install instructions:
- Open Terminal app
- At this point you will be on root of your user profile, its recommended to install Laserweb here
- Type "git clone https://github.com/openhardwarecoza/LaserWeb3.git" (do not type the quotes)
- Type "cd LaserWeb3"
- Type "npm install" (do not type the quotes) - you'll get an error about node serialport. ignore that
The software is now installed.
###To start the software:
- Open Terminal app
- In the command prompt window type "cd \laserweb3" at the command prompt (do not type the quotes)
- In the command prompt window type "node server-smoothie.js" or "node server-grbl.js" according to your controller.
Note: Marlin not implemented yet! Only Smoothie and Grbl
- Start Google Chrome
- At the top of the Chrome window type "localhost:8000" in the web address bar (do not type the quotes)
You should now see the software in the Chrome browser window.
##Create a script file on OSX ( should work on Linux ) to update and run the server and open Chrome with LaserWeb
- Open TextEdit
- Copy the following but change directory and server type
start node server-smoothie `or` start node server-smoothie
google-chrome http://localhost:8000
- Save the file to your preferred location, choose a cool name
- Remove the .txt extension from the file
- open terminal an make the file executable by typing "chmod 744 yourfilename" ( you need to be in the same folder )
- Double click to run Laserweb3
For support: Please join the Google+ Community LaserWeb