View guides, documentation and more at cloud-cnc.github.io
Note: This repository contains all files for running a controller. Controller(s) are typically ran on computers with close proximity to the CNC machines.
- Setup a core server instance
- Create the controller entry via the web GUI to get a controller ID + key.
- Install dependencies via running
npm i
- Modify the config file (default.js) to add the ID + key and to customize your controller
- Run
npm start
to start the controller - If you need any additional help, feel free to ask in the Spectrum channel
Name | Description |
---|---|
coverage |
Run all unit tests and generate coverage reports |
lint |
Lint everything with ES Lint |
start |
Start the controller in production mode |
start:development |
Start the controller in development mode - uses mock serialport bindings, logs to console |
start:e2e |
Start the controller in E2E testing mode - uses IPC serialport bindings, disables logging |
start:unit |
Start the controller in unit testing mode - disables logging |
test |
Run all unit tests |