mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-26 00:36:00 +00:00
18 lines
262 B
Bash
Executable File
18 lines
262 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\nN\n'
|
|
fi
|