Composer powered WordPress project generator.
WARNING: this is alpha software, here be dragons.
-
Add an entry to your
/etc/hostsfile for the site (seems like the latest version of Vagrant handles that now) -
ssh into your vagrant box
-
Run the following command while ssh'd from the parent directory where you want to install WordPress.
composer create-project -sdev humanmade/wp-maestro testinstall
Where [testinstall] is the name of your project.
For other options, see the Composer docs
At the end of the process, you'll be asked:
Do you want to remove the existing VCS (.git, .svn..) history? [Y,n]?
You should answer 'yes'
You could alias the whole command to something like wp-maesto [project]