This is a Restaurant POS system designed to run on a Raspberry Pi 4. The system provides a complete point-of-sale solution with staff management, order processing, and payment integration capabilities.
- Raspberry Pi 4
- Raspberry Pi OS 64-bit lite
- Network connection
- Hostname: pos
- Username: pos
- IP Address: ... (will be provided during setup)
- Prepare the Raspberry Pi:
- Install Raspberry Pi OS 64-bit lite on the SD card
- Set hostname to 'pos' during initial setup
- Create user named 'pos' during initial setup
- Connect to your network
- Deploy to Raspberry Pi:
# Deploy the project
./scripts/deploy.shThis will:
- Update the Raspberry Pi system
- Transfer all project files
- Install dependencies
- Configure services
- Start the POS backend service
- Check Service Status:
# SSH into your Pi
ssh pos@*.*.*.*
# Check service status
sudo systemctl status pos-backend- Verify API Access:
- Open http://...:8000/docs in a browser
- You should see the Swagger UI documentation
/home/pos/AppPOS/- Application files/home/pos/AppPOS/data/- Database files/home/pos/AppPOS/migrations/- Database migrations
# Run backup script
./scripts/backup_db.sh# Update packages and restart services
./scripts/manage_server.sh update# View backend service logs
journalctl -u pos-backend -f- If service fails to start:
# Check logs
sudo journalctl -u pos-backend -n 50- If database access fails:
# Check permissions
sudo chown -R pos:pos /home/pos/AppPOS/data- If experiencing performance issues:
# Check CPU governor status
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor- The system uses PIN-based authentication for staff
- Service runs under a dedicated 'pos' user
- Limited sudo permissions for service management
- Optimized for headless operation
For issues or questions:
- Check the logs:
journalctl -u pos-backend -f - Review documentation in the
Docs/directory - Submit issues to the project repository
MIT License - See LICENSE file for details