Skip to content

Add one-command local startup after cloning - #2

Merged
rashidiff merged 1 commit into
mainfrom
feat/one-command-startup
Nov 17, 2026
Merged

rashidiff merged 1 commit into
mainfrom
feat/one-command-startup

Conversation

@rashidiff

@rashidiff rashidiff commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Closes #1

Behavior

After cloning and entering the checkout, python start.py creates/reuses .venv, installs the core editable package, prepares the housing database if absent, and starts the HTTP API. Returning users run the same single command without activating an environment.

The launcher caches successful dependency setup against project metadata and selected extras, preserves existing databases/environment variables, and stages new databases before publishing them so failed preparation can be retried. Options cover host, port, database, extras, refresh, and setup-only operation. README documents prerequisites and usage. A new CI job runs bootstrap tests on Windows, Linux, and macOS.

Validation

  • Six bootstrap tests pass: initial/repeat startup, metadata/extras changes, refresh, install failure, partial database failure/retry, existing custom database, and input validation.
  • Ruff passes for both new Python files; git diff --check passes.
  • Windows/Python 3.11 live smoke: downloaded/prepared the real Kaggle housing dataset, repeated setup with unchanged database SHA-256, launched API and successfully executed a query returning five rows through HTTP /execute.
  • Full core+dev project suite: 127 passed on Windows/Python 3.11 (202.54s).
  • GitHub startup CI: passed on Windows, Ubuntu, and macOS. The existing full quality jobs are still running.
  • Local mypy with core+dev dependencies reports missing optional sentence-transformers/MCP imports and resulting decorator errors in existing modules. The existing quality CI installs these extras.

Requirements and scope

Python 3.11+ and pip/venv support must already be installed. First setup needs internet access for packages and Kaggle data. Optional transformer models/MCP remain opt-in. This starts the existing HTTP API; it does not add a browser UI. Only one bootstrap process should run per checkout.

@rashidiff
rashidiff merged commit 9abcd7b into main Nov 17, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add repeatable single-command local startup after cloning

1 participant