17 lines
324 B
Bash
Executable File
17 lines
324 B
Bash
Executable File
#!/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
|