Commit Graph
2 Commits
Author SHA1 Message Date
lewis_yan 5e1c5d793c fix(scripts): improve Windows PowerShell compatibility
- Add note recommending Git Bash over PowerShell for best compatibility
- start-celery.ps1: use cmd /c approach with --pool solo to avoid
  billiard multiprocessing issues on Windows; improve process tracking
- Remove Set-Location from scripts as it's unnecessary
2026-04-02 14:28:41 +08:00
lewis_yan f6313a93ce feat: add cross-platform service management scripts
Add comprehensive scripts for managing PIS project services:
- start-backend.ps1/.sh: Start Django backend with uvicorn/gunicorn
- start-frontend.ps1/.sh: Start Vue frontend dev server
- start-celery.ps1/.sh: Start Celery worker and beat
- stop-all.ps1/.sh: Stop all services gracefully
- stop-celery.ps1/.sh: Stop Celery services only
- view-logs.ps1/.sh: View and tail log files
- check-status.ps1/.sh: Check service status and ports

Cross-platform support:
- Windows PowerShell scripts with English output (UTF-8 safe)
- Unix/Linux/macOS Bash scripts with Chinese output
- WMI queries for PowerShell 5.1 compatibility
- Unified Makefile and make.ps1 orchestrators

Also add scripts-documentation.md with comprehensive usage guide.
2026-04-01 19:11:45 +08:00