mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-29 09:07:07 +00:00
18 lines
275 B
Bash
Executable File
18 lines
275 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 --debug <<< $'\n\n\nN\nN\n'
|
|
fi
|