Skip to content

Conversation

adamziel
Copy link
Collaborator

@adamziel adamziel commented May 16, 2024

With this PR, you can mount directories in Playground CLI before WordPress is installed. This enables creating the entire file structure in a local directory instead of VFS.

This is just the first step. Eventually we'll have more mount switches and the name mount will just default to one of the options.

Testing instructions

Run this and confirm WordPress got installed in the local directory:

bun packages/playground/cli/src/cli.ts run-blueprint --mount-before-install=`pwd`/new-wordpress-site:/wordpress ll new-wordpress-site

Related to #1398

With this PR, you can mount directories in Playground CLI before WordPress is installed. This enables creating the entire file structure in a local directory instead of VFS. ## Testing instructions Run this and confirm WordPress got installed in the local directory: ```shell bun packages/playground/cli/src/cli.ts run-blueprint --mount-before-install=`pwd`/new-wordpress-site:/wordpress ll new-wordpress-site ```
@adamziel adamziel merged commit 3624eed into trunk May 16, 2024
@adamziel adamziel deleted the cli-mount-before-or-after-install branch May 16, 2024 10:33
@adamziel adamziel mentioned this pull request May 16, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant