Freshness diagnostics API, UI trust notes, mission control/stats updates, and deploy scripts.
Made-with: Cursor
This commit is contained in:
@@ -29,10 +29,10 @@ inside the explorer server block after `/api`, `/api/config/*`, `/explorer-api/*
|
||||
|
||||
### Legacy Static Deploy
|
||||
|
||||
```bash
|
||||
# From explorer-monorepo root
|
||||
./scripts/deploy.sh
|
||||
```
|
||||
The historical static SPA deploy path is deprecated. The old scripts
|
||||
`./scripts/deploy.sh` and `./scripts/deploy-frontend-to-vmid5000.sh` now fail
|
||||
fast with a deprecation message and intentionally point operators back to the
|
||||
canonical Next.js deploy path.
|
||||
|
||||
### Manual Deploy
|
||||
|
||||
@@ -40,21 +40,25 @@ inside the explorer server block after `/api`, `/api/config/*`, `/explorer-api/*
|
||||
# Canonical Next deployment:
|
||||
./scripts/deploy-next-frontend-to-vmid5000.sh
|
||||
|
||||
# Legacy static fallback only:
|
||||
scp frontend/public/index.html root@192.168.11.140:/var/www/html/index.html
|
||||
# Compatibility assets only:
|
||||
# frontend/public/index.html
|
||||
# frontend/public/explorer-spa.js
|
||||
```
|
||||
|
||||
### Environment Variables
|
||||
|
||||
The deployment script uses these environment variables:
|
||||
The canonical Next deployment script uses its own VM/host defaults and deploy
|
||||
workflow. Prefer reviewing `scripts/deploy-next-frontend-to-vmid5000.sh`
|
||||
directly instead of relying on the older static script env contract below.
|
||||
|
||||
Historical static-script environment variables:
|
||||
|
||||
- `IP`: Production server IP (default: 192.168.11.140)
|
||||
- `DOMAIN`: Domain name (default: explorer.d-bis.org)
|
||||
- `PASSWORD`: SSH password (default: ***REDACTED-LEGACY-PW***)
|
||||
|
||||
```bash
|
||||
IP=192.168.11.140 DOMAIN=explorer.d-bis.org ./scripts/deploy.sh
|
||||
```
|
||||
These applied to the deprecated static deploy script and are no longer the
|
||||
recommended operator interface.
|
||||
|
||||
## Mission-control and Track 4 runtime wiring
|
||||
|
||||
@@ -89,7 +93,7 @@ If deployment fails, rollback to previous version:
|
||||
|
||||
```bash
|
||||
ssh root@192.168.11.140
|
||||
cp /var/www/html/index.html.backup.* /var/www/html/index.html
|
||||
ls -1dt /opt/solacescanscout/frontend/releases/* | head
|
||||
```
|
||||
|
||||
For the Next standalone path, restart the previous release by repointing
|
||||
|
||||
Reference in New Issue
Block a user