Multi-provider AI chat with RAG pipeline for Z.ai portal. Includes SKILL.md, deploy and health-check scripts. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
15 lines
411 B
Bash
Executable File
15 lines
411 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
VPS="uroma2@95.216.124.247"
|
|
echo "Uploading backend..."
|
|
scp /opt/blog/wiki-vector-chat.py "$VPS:/opt/blog/"
|
|
echo "Uploading frontend..."
|
|
scp /opt/zportal/chat.html "$VPS:/opt/zportal/chat.html"
|
|
echo "Restarting service..."
|
|
ssh "$VPS" "sudo systemctl restart wiki-vector-chat"
|
|
sleep 2
|
|
echo "Checking health..."
|
|
ssh "$VPS" "curl -s http://127.0.0.1:8770/health"
|
|
echo ""
|
|
echo "Deploy complete!"
|