script updates

This commit is contained in:
John Lancaster
2024-06-15 16:25:26 -05:00
parent 4da1b20875
commit 53210d85e3
8 changed files with 18 additions and 55 deletions

13
scripts/update.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
set -e
SCRIPT_DIR=$(readlink -f $(dirname "${BASH_SOURCE[0]}"))
REPO_DIR=$(dirname $SCRIPT_DIR)
cd $REPO_DIR
git submodule update --remote --init
alias compose="compose -f $REPO_DIR/docker-compose.yml"
docker compose pull
docker compose up -d