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)
This commit is contained in:
Executable
+22
@@ -0,0 +1,22 @@
|
||||
#!/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
|
||||
|
||||
Reference in New Issue
Block a user