Files
nocodb/docker-compose/1_Auto_Upstall/tests/configure/setup.sh
2024-12-26 09:47:15 +05:30

18 lines
263 B
Bash
Executable File

#!/bin/bash
if [ -z "$NOCO_HOME" ]; then
NOCO_HOME="./nocodb"
fi
if [ -d "$NOCO_HOME" ]; then
cd "$NOCO_HOME" || exit
docker compose down
fi
cd "$WORKING_DIR" || exit
rm -rf "$NOCO_HOME"
if [ "$1" = "setup" ]; then
../noco.sh <<< $'\n\n\n\n'
fi