Initial commit

This commit is contained in:
QwenPaw committed 2026-06-19 06:38:31 +00:00
commit f45881dc88
161 files changed
+21597

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
import pexpect
c = pexpect.spawn('ssh -q -o StrictHostKeyChecking=no root@210.16.161.214', encoding='utf-8', timeout=120)
c.expect('password:')
c.sendline('XHR521yhf')
c.expect('[$#]')
cd = 'cd /www/wwwroot/velobase-harness && '
# Push DB schema
c.sendline(cd + 'pnpm db:push 2>&1 | tail -20')
c.expect('[$#]', timeout=60)
print('=== DB PUSH ===')
print(c.before.strip()[-1000:])
# Seed DB
c.sendline(cd + 'pnpm db:seed 2>&1 | tail -20')
c.expect('[$#]', timeout=60)
print('=== DB SEED ===')
print(c.before.strip()[-1000:])
c.sendline('exit')