add akkoma's (bash scripts i use)

This commit is contained in:
2026-07-16 22:17:46 +02:00
parent d70dd8d601
commit 9b7c0be73e
5 changed files with 76 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
#!/bin/bash
set -e
cd "$(dirname "$0")"
echo "fetch latest..."
git fetch origin stable
git checkout stable
git pull origin stable
echo "rebuild imgs..."
docker compose build akkoma
echo "get new deps..."
docker compose run --rm akkoma mix deps.get
echo "compile..."
docker compose run --rm akkoma mix compile
echo "migrate..."
docker compose run --rm akkoma mix ecto.migrate
echo "restart..."
docker compose up -d
echo "done!"
docker compose ps