Skip to content

Run an embedded native development Server with only dw installed #160

Closed

Description

@rmcdaniel

dw server:start-dev still requires an existing Laravel project and shells out to PHP, with Docker Compose for optional database services. That behavior was carried through the native CLI rewrite even though native Server is now Rust too.

The operator explicitly requires a self-contained development runtime: installing dw must be enough. The command must start the native runtime compiled into the CLI, without PHP, Docker, a separate Server executable, or a runtime download.

Acceptance:

  • Link the existing native Server engine and bundled SQLite into the standalone CLI. Do not duplicate workflow execution semantics.
  • Start a loopback HTTP API and its maintenance from an empty directory, with persistent local development data and graceful shutdown.
  • Show useful connection, authentication and data-location information. Reject unsupported database/host/configuration choices clearly.
  • Prove real health/readiness, CLI/API workflow admission and persistence/restart using the built dw executable with an empty external-tool PATH.
  • Update help, README and the command reference. Preserve the legacy PHP maintenance line's scope.
  • Qualify source, dependency identity and supported standalone build targets through normal checks and review before delivery.

Activity

  1. rmcdaniel commented on Nov 17, 2026

    @rmcdaniel
    MemberAuthor

    Delivered in CLI 2.9.0 (#161). Installed acceptance on the released dw-linux-x86_64 (SHA256SUMS verified, dw 2.9.0 (commit 32f33cd7)): in a fresh debian:stable-slim container with no network, dw server:start-dev started the native development Server from an empty data directory on 127.0.0.1:8080 with the development token. dw env:set local … and dw doctor then reported a ready connection, worker protocol 1.20. The release run 44138134114 built and verified all five platforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions