From cb01adf897a42b752ae4546bb9c783be601ee702 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 22 Sep 2026 09:11:27 +0000 Subject: [PATCH] docs: update install one-liner to use deepsql.ai URL - Change README Quick start one-liner from raw.githubusercontent.com to https://deepsql.ai/install.sh - Add note clarifying that scripts/self-host/remote-install.sh is the source of truth, with deepsql.ai serving a copy for the homepage CTA - Update remote-install.sh header comments and --help examples to prefer the deepsql.ai URL as the primary install command - Keep raw GitHub URL documented as a fallback option Co-authored-by: Venkat SF --- README.md | 5 ++++- scripts/self-host/remote-install.sh | 18 ++++++++++++------ 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 3000187..f183128 100644 --- a/README.md +++ b/README.md @@ -26,13 +26,16 @@ DeepSQL Desktop first ship + Agent/Brain/Editor hardening. Notes: ### One-liner install ```bash -curl -fsSL https://raw.githubusercontent.com/DeepSQLAI/deepsql/main/scripts/self-host/remote-install.sh | bash +curl -fsSL https://deepsql.ai/install.sh | bash ``` This checks prerequisites, clones the latest release to `~/deepsql`, and guides you through configuration. See [`scripts/self-host/remote-install.sh`](scripts/self-host/remote-install.sh) for options (`--yes` for noninteractive, `--branch` for a specific version). +> The script source of truth is [`scripts/self-host/remote-install.sh`](scripts/self-host/remote-install.sh) +> in this repository. `deepsql.ai/install.sh` serves a copy for the homepage CTA. + ### Step-by-step Five steps, in order. Budget about fifteen minutes, most of it waiting on the first build. diff --git a/scripts/self-host/remote-install.sh b/scripts/self-host/remote-install.sh index 31094c7..f826187 100755 --- a/scripts/self-host/remote-install.sh +++ b/scripts/self-host/remote-install.sh @@ -4,10 +4,13 @@ # ═══════════════════════════════════════════════════════════════════════════════ # # One-liner install: +# curl -fsSL https://deepsql.ai/install.sh | bash +# +# Fallback (raw GitHub URL): # curl -fsSL https://raw.githubusercontent.com/DeepSQLAI/deepsql/main/scripts/self-host/remote-install.sh | bash # -# This script is a convenience wrapper. The source of truth is the public GitHub -# repository: https://github.com/DeepSQLAI/deepsql +# This script is the source of truth. deepsql.ai/install.sh serves a copy for the +# homepage CTA. The public GitHub repository: https://github.com/DeepSQLAI/deepsql # # You can always clone and build manually instead: # git clone https://github.com/DeepSQLAI/deepsql.git @@ -118,7 +121,7 @@ check_docker() { echo " curl -fsSL https://get.docker.com | sh" echo echo "After installing Docker, re-run this installer:" - echo " curl -fsSL https://raw.githubusercontent.com/${DEEPSQL_REPO}/main/scripts/self-host/remote-install.sh | bash" + echo " curl -fsSL https://deepsql.ai/install.sh | bash" elif [[ "$OS_TYPE" == "darwin" ]]; then echo "Install Docker Desktop for Mac from:" echo " https://www.docker.com/products/docker-desktop" @@ -388,13 +391,16 @@ Environment variables: Examples: # Interactive setup (edit .env, then run install.sh yourself) - curl -fsSL https://raw.githubusercontent.com/DeepSQLAI/deepsql/main/scripts/self-host/remote-install.sh | bash + curl -fsSL https://deepsql.ai/install.sh | bash # Noninteractive (requires .env to be pre-configured or prompts) - curl -fsSL .../remote-install.sh | bash -s -- --yes + curl -fsSL https://deepsql.ai/install.sh | bash -s -- --yes # Install a specific version - curl -fsSL .../remote-install.sh | bash -s -- --branch v1.3.0 + curl -fsSL https://deepsql.ai/install.sh | bash -s -- --branch v1.3.0 + + # Fallback: raw GitHub URL (if deepsql.ai is unreachable) + curl -fsSL https://raw.githubusercontent.com/DeepSQLAI/deepsql/main/scripts/self-host/remote-install.sh | bash EOF }