Files
kontor/script/setup
T
tpeetz b1127130cd Setup scripts to bootstrap, build and update the aplication
refs #36

The scripts are created and will be extended when adding subprojects.

(cherry picked from commit f688fb939c0f754ab70a4c0a014f00e42ff2f9eb)
2026-01-30 10:44:30 +01:00

23 lines
369 B
Bash
Executable File

#!/bin/sh
# script/setup: Set up container for the first time after cloning
set -e
cd "$(dirname "$0")/.."
script/bootstrap
echo "==> Setting up pod kontor"
if podman pod exists kontor; then
echo " => pod kontor exists"
else
podman pod create --name kontor \
--infra \
-p 5432:5432 \
-p 8100:8100 \
-p 8200:8200 \
--network bridge
fi