-
-
Notifications
You must be signed in to change notification settings - Fork 562
Setup Guide: Raspberry Pi | TinyWeb Console for 320x240 LCD Display
gang208 edited this page Jan 6, 2020
·
7 revisions
# Remove Older Downloads
rm -r cncjs-pendant-tinyweb*
# Download TinyWeb Example
wget https://github.com/cncjs/cncjs-pendant-tinyweb/releases/download/latest/cncjs-pendant-tinyweb-1.2.4-352767f.zip
# Extract Archive & Delete
unzip cncjs-pendant-tinyweb*.zip -d /home/pi/
rm -r cncjs-pendant-tinyweb*.zip
# Move / Rename Tinyweb Directory
mv /home/pi/cncjs-pendant-tinyweb* /home/pi/tinyweb
# If you are using PM2 to auto-run cncjs, you must turn that off,
# otherwise the next cncjs command will fail.
# If you are not using PM2, skip the next two lines.
pm2 stop $(which cncjs) # stop previous instance
pm2 delete $(which cncjs) # delete previous instance
# To start CNCjs manually with mounted TinyWeb, do this
cncjs -m /tinyweb:/home/pi/tinyweb/src
# If you want to use PM2 to auto-start CNCjs/TinyWeb, do this:
pm2 start $(which cncjs) -- --port 8000 -m /tinyweb:/home/pi/tinyweb/src
pm2 save # Set current running apps to startup
Join CNCjs Users Group on Facebook to share your experiences with other people.
Site: https://cnc.js.org
- Introduction
- Installation
- Using Pendants
-
Raspberry Pi Setup Guide
- System Setup & Preparation
- Install Node.js & CNCjs
- Install Node.js via Package Manager (Recommended)
- Install Node.js via Node Version Manager (NVM) (Alternative)
- Install Node.js Manually (Alternative)
- Use PM2 to auto-start CNCjs (Optional)
- Use Port 80 (Optional)
- Maintain
- Additional Setup Options:
- CNCjs UI on Pi - Adventures in PiLand
- Pi with Arduino Due
- Electron App
- User Guide
- Tool Change
- Troubleshooting
-
FAQ
- Forgot your password?
- How can I enable WebGL in my browser?
- Raspberry Pi: Error opening serial port "ttyAMA0"
- Webcam Streaming with Raspberry Pi
- Restream RTSP to M-JPEG
- Connect to an Arduino using WiFi
- Install Native Addons with Node.js v4
- Install Serialport on OS X El Capitan
- Kernel panic issue on macOS Sierra for devices using the CH340G, CH34G or CH34X chipset
- Testing without Arduino board
- Development
- API
- Wiki History
- Resources
- About