diff --git a/docs/core/infrastructure-manifest.md b/docs/core/infrastructure-manifest.md index 619005f..4ad5e39 100644 --- a/docs/core/infrastructure-manifest.md +++ b/docs/core/infrastructure-manifest.md @@ -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