Install wizard: split setup.sh into install-hummingbot.sh + install-condor.sh#128
Draft
fengtality wants to merge 4 commits into
Draft
Install wizard: split setup.sh into install-hummingbot.sh + install-condor.sh#128fengtality wants to merge 4 commits into
fengtality wants to merge 4 commits into
Conversation
One-command installer (curl | bash) that the website's Hummingbot/Condor tabs point at. It routes the Condor choice to the existing, unchanged setup.sh, and stubs the Hummingbot client path for P2. - Interactive Hummingbot-or-Condor wizard (falls back to flags in non-TTY). - Condor: hands off to setup.sh (sibling checkout or fetched from main), feeding it /dev/tty so its prompts work under curl | bash. - --doctor health check (docker, compose, uv, tmux, API :8000, condor tmux). - curl|bash-safe idioms: main "$@" as the final line, set -euo pipefail, platform/musl detection, no sudo. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The website's Hummingbot/Condor selector routes to two single-purpose scripts (no in-script product wizard): - install-condor.sh: renamed from setup.sh, unchanged Condor + API flow. Self-references and README updated to the new name. - install-hummingbot.sh: new Hummingbot client installer. Docker (make setup/deploy) or source (make install/conda), latest|dev channel, installs a thin `hummingbot` wrapper (start/update/doctor) to ~/.local/bin, writes ~/.hummingbot/state.json, default-on LLM plugin notice, and --doctor. curl|bash-safe (main "$@" last line, /dev/tty prompts, platform/musl guards). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Keeps existing 'curl .../deploy/main/setup.sh | bash' links working after the rename: uses the sibling install-condor.sh from a checkout, or fetches it when piped, forwarding all args and /dev/tty. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Make the `hummingbot` shim's `update` actually channel-aware: check out the right source branch (master/development) or re-pin the docker image tag on --latest/--dev, and persist the chosen channel back to state.json so it sticks. Add `help`/`-h`/`--help` usage and tighten the source doctor to exit non-zero when the conda env is missing. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Splits the single
setup.shinto two single-purposecurl | bashinstallers and adds a tinyhummingbotCLI wrapper. The product choice (Hummingbot vs Condor) moves to the website Quick Start card, so each script does one thing.Changes
install-condor.sh— the existingsetup.shrenamed, content unchanged. Only self-references and the README point at the new name. The proven Condor + API flow is untouched.install-hummingbot.sh(new) — Hummingbot client installer. Method sub-wizard (Docker / source / develop),latest/--devchannel, a re-runnable--doctor, and it installs a smallhummingbotwrapper to~/.local/bin:start [--v2 FILE | -f FILE] [-p PW] [--headless]— launch the REPL or autostart a config (passthrough tobin/hummingbot_quickstart.py; resolves the conda env / docker container for you).update [--dev | --latest]— channel-aware: checks outmaster/development(source) or re-pins the image tag (docker) and persists the channel tostate.json.doctor,--version,help.setup.sh— thin back-compat shim thatexecsinstall-condor.sh(keeps any old.../setup.shlinks working).README.md— references updated to the new script names.Notes / follow-ups
.mcp.json/hummingbot-mcp) is intentionally not wired here — handled separately.hummingbot/hummingbot-web): the Hero Quick Start card and/install-*.shredirects are already live; the redirects temporarily target this branch and flip tomainonce this merges.Design doc:
apps/docs/INSTALL_WIZARD_PLAN.mdinhummingbot/hummingbot-web.🤖 Generated with Claude Code