OpenBuilds / OpenBuilds-CAM

Online CNC CAM System
https://cam.openbuilds.com
GNU Affero General Public License v3.0
253 stars 617 forks source link

How to make it work offline #54

Closed Geekoid85 closed 5 years ago

Geekoid85 commented 5 years ago

I tried to clone the project and run the index.html that seems to work fine at first. But I can't generate the gcode after I setup an operation. It loads indefinitely. image

The same svg file work fine in the online version. image Also the text feature does not work offline.

I hope that an offline version can be a future option for this software, it's really easy and fluid. I can test more features as the team fix those bugs, I have some basic knowledge of git python and arduino and access to a grbl cnc machine.

petervanderwalt commented 5 years ago

run it in a local webserver. Chrome doesnt execute scripts from file:// loads

petervanderwalt commented 5 years ago

Quickest: nodejs + http-server https://www.npmjs.com/package/http-server Easier https://www.apachefriends.org/index.html (no need for anything but apache, but easy to install)