Skip to content

How to compile

Claudio Prezzi edited this page Jul 2, 2020 · 1 revision

To compile LaserWeb4 you need to install nodejs 10.16.3 and do the following steps:

  • Clone lw.comm-server branch master
  • Run npm install
  • Test if node server.js works
  • Clone LaserWeb4 branch dev-es6
  • Run npm run installdev
  • Run npm run start-app for frontend testing. This does a webpack compile and starts a browser on localhost:8080/webpack-dev-server/. (it takes some time until webpack compile is ready!)

After updating something on the frontend:

Run npm run bundle-dev in the LaserWeb4 folder. This creates the webpack files in the dist folder, which can then be copied over to the app folder of lw.comm-server (embeded website). Instead of manual copying you can run the script npm run update_lw4 in the lw.comm-server folder (needs bash console for ncp command).

Thisa should give you at least a start point.

Home
Installation:
|– Windows
|– Mac OSX
|– Linux (x86/x64)
|– RaspberryPi
Connecting to machine:
|– Connecting to Machine
Initial Firmware Config:
|– GRBL 1.1
|– GRBL-LPC
|– Smoothieware
Settings:
|– Machine Profiles
|– Machine
|– File Settings
|– GCode
|– Application
Usage:
|– Working with Files
|– Working with Images
Appendix:
|– Materials and Feeds
|– How to Contribute
|- How-to-compile

Clone this wiki locally