This script will create a roots/bedrock project in your desired directory, install composer dependencies, and install wordpress via the wp-cli tool. Works with mailhog.
For global homestead installations (not per-project installs)
Place the sh file in Homestead/scripts/site-types/
In your Homestead.yaml file, use "bedrock" as the type key for a site mapping, and the value of the map
key as the database. Be sure to add /web
to the end of your to:
key for your folder mapping. The script will generate the web folder for you. E.g.:
---