Skip to content

Commit cb01adf

Browse files
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 <venkatesh.sakamuri@stayflexi.com>
1 parent 4b05812 commit cb01adf

2 files changed

Lines changed: 16 additions & 7 deletions

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,16 @@ DeepSQL Desktop first ship + Agent/Brain/Editor hardening. Notes:
2626
### One-liner install
2727

2828
```bash
29-
curl -fsSL https://raw.githubusercontent.com/DeepSQLAI/deepsql/main/scripts/self-host/remote-install.sh | bash
29+
curl -fsSL https://deepsql.ai/install.sh | bash
3030
```
3131

3232
This checks prerequisites, clones the latest release to `~/deepsql`, and guides you
3333
through configuration. See [`scripts/self-host/remote-install.sh`](scripts/self-host/remote-install.sh)
3434
for options (`--yes` for noninteractive, `--branch` for a specific version).
3535

36+
> The script source of truth is [`scripts/self-host/remote-install.sh`](scripts/self-host/remote-install.sh)
37+
> in this repository. `deepsql.ai/install.sh` serves a copy for the homepage CTA.
38+
3639
### Step-by-step
3740

3841
Five steps, in order. Budget about fifteen minutes, most of it waiting on the first build.

scripts/self-host/remote-install.sh

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@
44
# ═══════════════════════════════════════════════════════════════════════════════
55
#
66
# One-liner install:
7+
# curl -fsSL https://deepsql.ai/install.sh | bash
8+
#
9+
# Fallback (raw GitHub URL):
710
# curl -fsSL https://raw.githubusercontent.com/DeepSQLAI/deepsql/main/scripts/self-host/remote-install.sh | bash
811
#
9-
# This script is a convenience wrapper. The source of truth is the public GitHub
10-
# repository: https://github.com/DeepSQLAI/deepsql
12+
# This script is the source of truth. deepsql.ai/install.sh serves a copy for the
13+
# homepage CTA. The public GitHub repository: https://github.com/DeepSQLAI/deepsql
1114
#
1215
# You can always clone and build manually instead:
1316
# git clone https://github.com/DeepSQLAI/deepsql.git
@@ -118,7 +121,7 @@ check_docker() {
118121
echo " curl -fsSL https://get.docker.com | sh"
119122
echo
120123
echo "After installing Docker, re-run this installer:"
121-
echo " curl -fsSL https://raw.githubusercontent.com/${DEEPSQL_REPO}/main/scripts/self-host/remote-install.sh | bash"
124+
echo " curl -fsSL https://deepsql.ai/install.sh | bash"
122125
elif [[ "$OS_TYPE" == "darwin" ]]; then
123126
echo "Install Docker Desktop for Mac from:"
124127
echo " https://www.docker.com/products/docker-desktop"
@@ -388,13 +391,16 @@ Environment variables:
388391
389392
Examples:
390393
# Interactive setup (edit .env, then run install.sh yourself)
391-
curl -fsSL https://raw.githubusercontent.com/DeepSQLAI/deepsql/main/scripts/self-host/remote-install.sh | bash
394+
curl -fsSL https://deepsql.ai/install.sh | bash
392395
393396
# Noninteractive (requires .env to be pre-configured or prompts)
394-
curl -fsSL .../remote-install.sh | bash -s -- --yes
397+
curl -fsSL https://deepsql.ai/install.sh | bash -s -- --yes
395398
396399
# Install a specific version
397-
curl -fsSL .../remote-install.sh | bash -s -- --branch v1.3.0
400+
curl -fsSL https://deepsql.ai/install.sh | bash -s -- --branch v1.3.0
401+
402+
# Fallback: raw GitHub URL (if deepsql.ai is unreachable)
403+
curl -fsSL https://raw.githubusercontent.com/DeepSQLAI/deepsql/main/scripts/self-host/remote-install.sh | bash
398404
EOF
399405
}
400406

0 commit comments

Comments
 (0)