-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
33 lines (28 loc) · 1.18 KB
/
Copy pathinstall.sh
File metadata and controls
33 lines (28 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env bash
# JarvisQwen one-click install (Ubuntu/Debian VM, e.g. Alibaba Cloud ECS)
# Usage: curl -fsSL https://raw.githubusercontent.com/Vector897/JarvisQwen/main/install.sh | bash
set -euo pipefail
echo "==> JarvisQwen installer"
if ! command -v docker >/dev/null 2>&1; then
echo "==> Installing Docker..."
curl -fsSL https://get.docker.com | sh
sudo usermod -aG docker "$USER" || true
fi
if [ ! -d JarvisQwen ]; then
echo "==> Cloning repository..."
git clone https://github.com/Vector897/JarvisQwen.git
fi
cd JarvisQwen
echo "==> Building and starting (first run takes 3-5 min)..."
sudo docker compose up -d --build
echo ""
echo "=============================================="
echo " JarvisQwen is up!"
echo " Console: http://$(hostname -I | awk '{print $1}'):3000 (click 'Quick Try' — no login)"
echo ""
echo " Security group: only expose TCP 22 and 3000. Port 8000 (backend) is bound to"
echo " 127.0.0.1 and never public; inbound per-IP rate limiting is on by default."
echo ""
echo " Next: open the console -> paste your Qwen Cloud API key in Settings"
echo " -> add research keywords in Subscriptions"
echo "=============================================="