mirror of
https://github.com/UNITRONIX/BetterDesk.git
synced 2026-09-10 01:27:11 +00:00
55072b3834
Introduces full Docker support with docker-compose, quickstart, and installation scripts. Adds BetterDesk v2 patch source, build, and documentation files. Updates .gitignore for sensitive data, enhances Docker and update documentation, and improves troubleshooting and migration instructions in README. Also updates install scripts and adds new database migration scripts for v1.5.0.
Development Modules
This directory contains development and testing utilities for BetterDesk Console.
Contents
Testing Scripts
- test_ban_api.sh - Test script for ban/unban API endpoints
- Tests device banning functionality
- Validates API responses
- Usage:
./test_ban_api.sh
Diagnostic Tools
- check_database.py - Database inspection and validation tool
- Checks database schema
- Verifies migrations applied
- Lists devices and their status
- Usage:
python3 check_database.py
Development Scripts
- update.ps1 - PowerShell update script (Windows development environment)
- Alternative to update.sh for Windows
- Updates web console components
Usage
These tools are for development and testing only. They are not required for production deployment.
Requirements
- Python 3.8+ (for check_database.py)
- Bash (for test_ban_api.sh)
- curl (for API testing)
Notes
- These scripts assume a local or test RustDesk server installation
- Always test on non-production systems first
- See main README.md for production deployment
Contributing
When adding new development tools:
- Document usage in this README
- Add appropriate shebang and error handling
- Include comments explaining functionality
- Test on clean environment before committing