diff options
| author | aura <nw@moneybot.cc> | 2026-02-17 22:39:42 +0100 |
|---|---|---|
| committer | aura <nw@moneybot.cc> | 2026-02-17 22:39:42 +0100 |
| commit | 636b0323075225c584b62719ed51e75521bb7ffb (patch) | |
| tree | 61b02271b6d0695a4beffc23fb6eb062a7da22c3 /run-dev.sh | |
push source
Diffstat (limited to 'run-dev.sh')
| -rwxr-xr-x | run-dev.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/run-dev.sh b/run-dev.sh new file mode 100755 index 0000000..f8fb773 --- /dev/null +++ b/run-dev.sh @@ -0,0 +1,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:9000" +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.' |
