blob: a15e5c967ee484b6ec425cc4c1a3e656d556a1cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
# sh install-site.sh
echo "killing processes on port 3001 and 3000..."
sudo fuser -ki 3001/tcp
sudo fuser -ki 3000/tcp
sleep 1
cd backend
echo 'starting backend...'
tmux new-session -s backend -d "cd api && zig build && ./zig-out/bin/axonbox-backend --domain http://localhost:8081"
echo 'starting chat api...'
tmux split-window -h -t backend "cd instance && npm run start -- -c 20000 --no-wget-verify"
tmux attach -t backend
echo 'running.'
|