mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 05:26:08 +00:00
20 lines
300 B
Bash
Executable File
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
|