mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 16:55:37 +00:00
update : refactor auto-upstall and installation methods
This commit is contained in:
12
docker-compose/1_Auto_Upstall/tests/install/setup.sh
Executable file
12
docker-compose/1_Auto_Upstall/tests/install/setup.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -z "$NOCO_HOME" ]; then
|
||||
NOCO_HOME="./nocodb"
|
||||
fi
|
||||
|
||||
if [ -d "$NOCO_HOME" ]; then
|
||||
cd "$NOCO_HOME" || exit
|
||||
docker compose down
|
||||
fi
|
||||
|
||||
rm -rf "$NOCO_HOME"
|
||||
Reference in New Issue
Block a user