Skip to content

[Package][@wp-playground] CLI: server with --mount=.:/wordpress/wp-content/ redirects to /wp-admin/install.php #2418

@sntran

Description

@sntran

Hello,

I came from @wp-now/wp-now where it auto detects my project structure and runs in wp-content mode.

Seeing that @wp-now/wp-now is being deprecated, I switched to @wp-playground/[email protected].

To get back to the old behaviour, I set --mount=.:/wordpress/wp-content/.

I expected to see the WordPress front page at "http://localhost:9400" like when I ran without the --mount flag.

Instead, I was redirected to "http://127.0.0.1:9400/wp-admin/install.php".

This also has a side effect that all blueprint steps will fail, as the database has not been set up completely.

Update: Using --mount-before-install.:/wordpress/wp-content/ works as expected. I just don't like all the extra default stuffs being added to my local filesystem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions