I've created simple one-liner scripts that handle everything automatically. Just run one script and you're ready to go!
- Node.js (version 16 or higher)
- Git (to clone the repository)
- Navigate to the
CarbonControlfolder - Double-click
setup-windows.bat - Wait for the setup to complete
- The UI will automatically open in your browser
cd CarbonControl
setup-windows.batcd CarbonControl
chmod +x setup-linux.sh
./setup-linux.shcd CarbonControl
bash setup-linux.shcd CarbonControl
chmod +x setup-tina-linux.sh
./setup-tina-linux.shcd CarbonControl
chmod +x setup-tina-linux.sh
./setup-tina-linux.sh 8080 # Replace 8080 with your desired port- ✅ Checks if Node.js is installed
- ✅ Verifies project structure
- ✅ Installs all dependencies (npm or pnpm)
- ✅ Builds the project
- ✅ Starts the development server
- ✅ Opens browser automatically
- ✅ Checks if Node.js is installed
- ✅ Verifies project structure
- ✅ Installs all dependencies
- ✅ Builds the project
- ✅ Starts the development server
- ✅ Installs Node.js if needed
- ✅ Verifies project structure
- ✅ Installs all dependencies
- ✅ Builds the project
- ✅ Creates systemd service
- ✅ Sets up production server
- ✅ Enables and starts the service
- URL: http://localhost:3000
- Features: Hot reload, development tools
- Stop: Press
Ctrl+Cin the terminal
- URL: http://YOUR_IP:3001 (or custom port)
- Features: Production optimized, systemd service
- Management: Use systemctl commands
npm install
# or
pnpm installnpm run devnpm run buildnpm startOnce running, you'll have access to:
- 🔍 UDP Discovery - Automatically find printers on your network
- 💾 IP Caching - Remember printer IPs between sessions
- 🎮 Real-time Control - Control printer temperature, fans, lights
- 📁 File Management - Upload and manage print files
- 📹 Live Camera - View printer camera feed
- 📊 Status Monitoring - Real-time printer status
- 🎛️ Advanced Controls - G-code, movement, homing
# Install Node.js from: https://nodejs.org/
# Or use package manager:
# Ubuntu/Debian: sudo apt install nodejs npm
# CentOS/RHEL: sudo yum install nodejs npmchmod +x setup-linux.sh
# or
sudo chmod +x setup-linux.sh# Kill process using port 3000
sudo lsof -ti:3000 | xargs kill -9
# Or use a different port in Tina Linux script
./setup-tina-linux.sh 3002# Clear cache and retry
rm -rf node_modules package-lock.json
npm install
npm run buildIf you encounter issues:
- Check the console output for error messages
- Verify Node.js version (16+ required)
- Ensure you're in the CarbonControl directory
- Check network connectivity for dependency installation
| Action | Windows | Linux | Tina Linux |
|---|---|---|---|
| Setup & Start | setup-windows.bat |
./setup-linux.sh |
./setup-tina-linux.sh |
| Custom Port | N/A | N/A | ./setup-tina-linux.sh 8080 |
| Stop Server | Ctrl+C |
Ctrl+C |
sudo systemctl stop carboncontrol |
| Restart | Run script again | Run script again | sudo systemctl restart carboncontrol |
| View Logs | Console output | Console output | sudo journalctl -u carboncontrol -f |
That's it! Just run one script and you're ready to control your Elegoo Centauri Carbon printer! 🎯