-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Offer a laravel/valet local environment instead of Vagrant #20
Comments
@codepuncher @tangrufus any ideas on the easiest/best way to get this done? |
Thinking we should leverage https://github.com/aaemnnosttv/wp-cli-valet-command as it doesn't matter what OS you run. As long as either Valet, Valet Linux or Valet WSl are installed on the system, you're good to go. Commands are the same so no issue there. As for dealing with the Valet drivers, we could ship trellis-cli with our own driver to get things running.
Maintaining our own drivers will make things easier, but I really wouldn't know how many people would use structures that aren't @tangrufus mentioned about using custom subcommands e.g. |
One thing we can do with the third party subcommand situation is that:
The major disadvantage is that the dependency is bundled at build time and won't pick up roots/trellis-cli updates. |
If all we need to do is support a custom bedrock/site dir name + generate a single driver file, that doesn't seem too bad. Correct me if that's wrong though. I'd probably be okay with supporting those options by default. |
@tangrufus interesting idea. I can think of two possible improvements to that:
|
I thought it would look more like |
Right now it's |
I'll see about putting in a PR using the |
With #48, we can:
What do you think? When we have a solution for the plugin system, we can separate |
I haven't thought about this enough yet, but I'm wary to move the vagrant commands under a What you proposed doesn't really depend on namespacing the Vagrant commands right (other than being slightly confusing)? It doesn't prevent us from just adding all those valet specific ones under I'm completely fine with having these valet commands built-in for now at least under the subcommand 👍 |
Is an .trellis-cli.yml (config file, like wp-cli.yml) an option? I would prefer that over a longer cli command. |
Any updates here? I'm looking at setting up a local Valet environment to manage a WP site built on trellis/bedrock and this would help tremendously. I've found and will try this (https://github.com/danielroe/trellis-valet-driver) in the meanwhile. This (https://github.com/aaemnnosttv/wp-cli-valet-command) also seems to have some interesting wp cli implementation for bedrock with valet. Thanks! |
@dsecareanu Does #48 help? |
Probably :) have to test it out though. Thanks! |
Trellis is awesome for provisioning and deploying Bedrock sites, and it would be great to have an easy way to use laravel/valet as a local environment instead of Vagrant.
The text was updated successfully, but these errors were encountered: