inou/.claude/worktrees/vibrant-nash/deploy.sh

17 lines
324 B
Bash

#!/bin/bash
set -e
cd ~/dev/inou
echo "=== Building import-genome ==="
cd import-genome && go build -o import-genome . && cd ..
echo "=== Building portal ==="
cd portal && go build -o portal . && cd ..
echo "=== Restarting portal ==="
sudo systemctl restart portal
echo "=== Done ==="
systemctl status portal | head -3