Hello,
As you know Local by Flywheel is now “free” and i think its a great tool to easily create local wordpress instance.
Before using Trellis, i would like to know if it could be possible to create a bash script with some WP CLI command to deploy a new trellis project locally using the desktop app “Local By Flywheel”
Some discussion about git workflow with Local by Flywheel :
When you create a project in local by flywheel dashboard, you can “right click” and “open site SSH” to execute some terminal commands… So i think it could be awesome to have a “Trellis” WP CLI command to create a project from Local by Flywheel. Checkout all the features you get by installing this software (virtual box, docker, nginx, etc…).
Do you think its possible to get such a script? (sorry for my english, i’m french
Hi Ben,
That makes sense
Is there a .sh script i can grab somewhere to run on my local machine that clone, install and setTrellis, Composer and Sage to get started quickly (maybe with some WP CLI commands) ?
Regards
Local is a great tool that just gets better and better. BUT, the next release with deployment functionality will most likely only support deployment to Flywheel.
I would really like to see a “pressmatic / local / serverpress” version crammed with trellis and bedrock from you roots guys.
If you spent the time to do this I’m sure many people on the forum would be eternally grateful.
I have a small scripts set up to ‘install roots’ which sets up the full stack including the latest master branch of Sage, it also utilises a simple sed function to replace all example.dev instances to the domain name I want to be working on.
I’ll keep developing it and hopefully get it to a point of sharing before someone beats me too it
Local by flywheel has blueprint functionality to copy a local website.
To deploy i use “git ftp” which is really great, and free! https://git-ftp.github.io
So I’m using Local by Flywheel, Sage, and Bedrock.
Set up Local with Bedrock following this tutorial (make sure to name your Local site site.dev instead of the default site.local or you will run into a compiling issue with Yarn.) https://github.com/artifex404/local-bedrock