π OpenHands: AI-Driven Development
Fix local dev deployments (#12198)
chuckbutkusecbd3ae7490d
diff --git a/enterprise/enterprise_local/README.md b/enterprise/enterprise_local/README.mdindex 4d621f16a8..18dee5b144 100644--- a/enterprise/enterprise_local/README.md+++ b/enterprise/enterprise_local/README.md@@ -50,7 +50,7 @@ First run this to retrieve Github App secrets```gcloud auth application-default logingcloud config set project global-432717-local/decrypt_env.sh+enterprise_local/decrypt_env.sh /path/to/root/of/deploy/repo```Now run this to generate a `.env` file, which will used to run SAAS locallydiff --git a/enterprise/enterprise_local/decrypt_env.sh b/enterprise/enterprise_local/decrypt_env.shold mode 100644new mode 100755index e2988b4bd8..923ec0305e--- a/enterprise/enterprise_local/decrypt_env.sh+++ b/enterprise/enterprise_local/decrypt_env.sh@@ -4,12 +4,12 @@ set -euo pipefail# Check if DEPLOY_DIR argument was providedif [ $# -lt 1 ]; thenecho "Usage: $0 <DEPLOY_DIR>"- echo "Example: $0 /path/to/deploy"+ echo "Example: $0 /path/to/root/of/deploy/repo"exit 1fi# Normalize path (remove trailing slash)-DEPLOY_DIR="${DEPLOY_DIR%/}"+DEPLOY_DIR="${1%/}"# Function to decrypt and renamedecrypt_and_move() {