Skip to content
This repository has been archived by the owner on Jan 29, 2018. It is now read-only.

Install: MacOSX

Peter van der Walt edited this page Jul 21, 2016 · 12 revisions

Mac

###Prerequisites:

  1. Download and install Node.js version Node LTS from https://nodejs.org/en/download/
  2. Install Google Chrome if not already installed
  3. Download and install Git For Windows from https://git-scm.com/download/mac
  4. Upgrade your Smoothie based controller to the Master Branch build of the firmware. This is NB - LaserWeb3 wont work with old builds, or the most recent edge build.
  5. Uninstall old versions of node.js (version 0.12 etc) - we are going to need a clean install of Node 4 LTS

###LaserWeb3 install instructions:

  1. Open Terminal app
  2. At this point you will be on root of your user profile, its recommended to install Laserweb3 here
  3. Type "git clone https://github.com/openhardwarecoza/LaserWeb3.git" (do not type the quotes)
  4. Type "cd LaserWeb3"
  5. 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:

  1. Open Terminal app
  2. In the command prompt window type "cd \laserweb3" at the command prompt (do not type the quotes)
  3. In the command prompt window type "node server-smoothie.js"

NBNBNB AS OF JUNE 2016 I HAVENT HAD TIME TO ADD MARLIN AND GRBL TO LASERWEB3. SEE THE OPEN ISSUES. WE'LL GET THERE WHEN WE ARE DONE WITH SMOOTHIEWARE. IF YOU WANT TO HELP, PLEASE FORK. AND CONTRIBUTE. OR, JUST SPEND THE LITTLE BIT OF MONEY AND GET YOURSELF SOME SMOOTHIEWARE BASED CONTROLLER. STOP HOLDING YOURSELF BACK WITH ARCHIAC HARDWARE (8BIT)

  1. Start Google Chrome
  2. 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

  1. Open TextEdit
  2. Copy the following but change directory and server type cd laserweb3 ( or the complete path to you Laserweb3 folder ) git pull start node server-smoothie google-chrome http://localhost:8000
  3. Save the file to your preferred location, choose a cool name
  4. Remove the .txt extension from the file
  5. open terminal an make the file executable by typing "chmod 744 yourfilename" ( you need to be in the same folder )
  6. Double click to run Laserweb3