This is one of a series of demonstrations of the auto-sitesetup designed to be used with Varying Vagrants Vagrants for integrating Bedrock Stack.
This demo shows a site setup using just Composer and MySQL commands.
To get started:
- If you don't already have it, clone the Varying Vagrants Vagrants repo , perhaps into your
~/Vagrants/
directory (you may need to create it if it doesn't already exist) - Install the Vagrant hosts updater:
vagrant plugin install vagrant-hostsupdater
- Clone this branch of this repo into the
www
directory of your Vagrant aswww/bedrock
. Command for doing it isgit clone https://github.com/julykaz/vvv-demo-1-bedrock.git bedrock
. - If your Vagrant is running, from the Vagrant directory run
vagrant halt
- Followed by
vagrant up --provision
. Perhaps a cup of tea now? The provisioning may take a while. - Change
.env
file inhtdocs
folder to meet your DB and URL settings fromvvv-init.sh
file. For this default config it is:DB_NAME=wordpress_bedrock
DB_USER=wp
DB_PASSWORD=wp
DB_HOST=localhost
Then you can visit http://bedrock.dev/