Skip to content

[NFR]: One-line setup for docker-only users #30

Closed

Description

@niden

Summary

One command that needs only docker creates, starts and installs a new crest project, as curl -s "https://phalcon.io/example-app" | bash.

Why

Today a docker-only user types several commands: a one-off composer:2 container with crest in a named volume for crest new, then docker compose up -d, then docker compose exec app composer install.

Scope

  • One command. It runs crest new in a one-off container, then docker compose up -d, then composer install in the app container.
  • The options of new pass through (--php, --phalcon, --namespace).
  • The project gets the docker launcher (see "crest new writes a docker launcher script"), so the next commands are ./crest ....
  • Docs.

Open

  • The form: a hosted script, or a documented command line.
  • Where a hosted script lives, and a security note for curl | bash.
  • Windows.
  • Before 1.0, the one-off container needs phalcon/crest:dev-master (Packagist has no tagged version yet).

Done when

One command on a host with docker only gives a running project: GET / answers.

Related: #16, the docker launcher issue.

Activity

  1. self-assigned this
    on Sep 27, 2026
  2. added theissue type on Sep 27, 2026
  3. added
    enhancement
    on Sep 27, 2026
  4. niden commented on Oct 12, 2026

    @niden
    SponsorMemberAuthor

    Resolved in #40

  5. moved this from Backlog to Implemented in Phalcon v5on Oct 12, 2026
  6. moved this from Implemented to Released in Phalcon v5on Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions