Instantly share code, notes, and snippets.

Embed
What would you like to do?
Setting up the WordPress Meta Environment on VVV
$ git clone https://github.com/WordPress/meta-environment.git www/WordPress-meta-environment
$ git clone https://github.com/Varying-Vagrant-Vagrants/VVV.git
$ cp www/WordPress-meta-environment/buddypressorg.dev/provision/buddypressorg_dev.sql database/backups/
$ cp www/WordPress-meta-environment/jobs.wordpressnet.dev/provision/jobs_wordpressnet_dev.sql database/backups/
$ cp www/WordPress-meta-environment/wordcamp.dev/provision/wordcamp_dev.sql database/backups/
$ cp www/WordPress-meta-environment/wordpressorg.dev/provision/wordpressorg_dev.sql database/backups/
$ cp www/WordPress-meta-environment/wordpresstv.dev/provision/wordpresstv_dev.sql database/backups/
$ cd VVV
$ vagrant plugin install vagrant-hostsupdater
CREATE DATABASE IF NOT EXISTS `buddypressorg_dev`;
GRANT ALL PRIVILEGES ON `buddypressorg_dev`.* TO 'wp'@'localhost' IDENTIFIED BY 'wp';
CREATE DATABASE IF NOT EXISTS `jobs_wordpressnet_dev`;
GRANT ALL PRIVILEGES ON `jobs_wordpressnet_dev`.* TO 'wp'@'localhost' IDENTIFIED BY 'wp';
CREATE DATABASE IF NOT EXISTS `wordpressorg_dev`;
GRANT ALL PRIVILEGES ON `wordpressorg_dev`.* TO 'wp'@'localhost' IDENTIFIED BY 'wp';
CREATE DATABASE IF NOT EXISTS `wordcamp_dev`;
GRANT ALL PRIVILEGES ON `wordcamp_dev`.* TO 'wp'@'localhost' IDENTIFIED BY 'wp';
CREATE DATABASE IF NOT EXISTS `wordpresstv_dev`;
GRANT ALL PRIVILEGES ON `wordpresstv_dev`.* TO 'wp'@'localhost' IDENTIFIED BY 'wp';
$ vagrant up --provision
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment