mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-10 08:05:22 +02:00
fix local setup script
This commit is contained in:
parent
0800eb639e
commit
83cc486eda
9 changed files with 46 additions and 48 deletions
|
|
@ -9,12 +9,12 @@ BLUE='\033[0;34m'
|
|||
NC='\033[0m' # No Color
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
LIB_PATH="$SCRIPT_DIR/lib/remote_common.sh"
|
||||
LIB_PATH="$SCRIPT_DIR/lib/setup_common.sh"
|
||||
BOOTSTRAP_LIB=""
|
||||
|
||||
if [[ ! -f "$LIB_PATH" ]]; then
|
||||
BOOTSTRAP_LIB="$(mktemp)"
|
||||
curl -fsSL -o "$BOOTSTRAP_LIB" "https://raw.githubusercontent.com/dograh-hq/dograh/main/scripts/lib/remote_common.sh"
|
||||
curl -fsSL -o "$BOOTSTRAP_LIB" "https://raw.githubusercontent.com/dograh-hq/dograh/main/scripts/lib/setup_common.sh"
|
||||
LIB_PATH="$BOOTSTRAP_LIB"
|
||||
fi
|
||||
|
||||
|
|
@ -223,7 +223,7 @@ else
|
|||
fi
|
||||
fi
|
||||
|
||||
DOGRAH_REMOTE_PROJECT_DIR="$(pwd)"
|
||||
DOGRAH_DEPLOY_PROJECT_DIR="$(pwd)"
|
||||
|
||||
if [[ "$DEPLOY_MODE" != "prebuilt" ]]; then
|
||||
chmod +x remote_up.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue