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

20 lines
300 B
Bash
Executable File

#!/bin/bash
export TERM=${TERM:-xterm-256color}
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