Files
Web_UploadTest_Rcu_Dev/README.md

22 lines
538 B
Markdown
Raw Normal View History

# RCU Upgrade Service
## Overview
Node.js backend service to manage RCU firmware upgrades.
Triggers upgrades via `WebChatUpgrade` API and polls status via `QueryUpdateHostProgressBar`.
## Setup
1. Install dependencies: `npm install`
2. Configure `.env` (see `.env.example` or documentation)
3. Setup PostgreSQL database `test_upgrade`.
## Running
- Dev: `npm run dev`
- Production: `pm2 start pm2.json`
## Spec & Validation
- Lint Spec: `npm run spec:lint`
- Validate Spec: `npm run spec:validate`
## Testing
- Run tests: `npm test`