#!/bin/bash

git pull
cargo b -r
cd frontend
npm install
npm run build
cd ..
cd rot_app
npm install
npm run build
sudo systemctl restart rot
sudo systemctl restart rot-svelte
sudo systemctl status rot