docs: Fix Arbiter deploy paths and add common copy commands

- Corrected repo path: services/arbiter-3.0/src/ not just src/
- Added $'...' syntax note for passwords with special chars
- Added common copy command templates for routes, views, utils, lib

Signed-off-by: Claude (Chronicler #61) <claude@firefrostgaming.com>
This commit is contained in:
Claude (Chronicler #61)
2026-04-05 10:09:22 +00:00
parent 8eff3afa54
commit 629f5f18e0

View File

@@ -140,21 +140,37 @@
**Running Migrations:**
```bash
# From Command Center, run migration files directly:
PGPASSWORD='[password]' psql -U arbiter -d arbiter_db -h 127.0.0.1 -f /path/to/migration.sql
# Or connect interactively:
PGPASSWORD='[password]' psql -U arbiter -d arbiter_db -h 127.0.0.1
# From Command Center — use $'...' syntax to handle special chars in password:
PGPASSWORD=$'FireFrost2026!Arbiter' psql -U arbiter -d arbiter_db -h 127.0.0.1 -f /tmp/firefrost-services/services/arbiter-3.0/migrations/MIGRATION_FILE.sql
```
**Deploy Pattern:**
```bash
# 1. Clone or update repo
cd /tmp
rm -rf firefrost-services
git clone https://git.firefrostgaming.com/firefrost-gaming/firefrost-services.git
# Copy specific files to /opt/arbiter-3.0
# 2. Copy files (note: repo path is services/arbiter-3.0/, NOT src/)
cp services/arbiter-3.0/src/FILE /opt/arbiter-3.0/src/FILE
# 3. Restart
systemctl restart arbiter-3
```
**Common Copy Commands:**
```bash
# Routes
cp /tmp/firefrost-services/services/arbiter-3.0/src/routes/admin/FILE.js /opt/arbiter-3.0/src/routes/admin/
# Views
cp /tmp/firefrost-services/services/arbiter-3.0/src/views/admin/FILE.ejs /opt/arbiter-3.0/src/views/admin/
# Utils/Lib
cp /tmp/firefrost-services/services/arbiter-3.0/src/utils/FILE.js /opt/arbiter-3.0/src/utils/
cp /tmp/firefrost-services/services/arbiter-3.0/src/lib/FILE.js /opt/arbiter-3.0/src/lib/
```
### Panel Details
- **Primary IP:** 45.94.168.138