Last active
November 6, 2016 12:08
-
-
Save cameronjonesweb/f30652e2b8732afedc8e60abcdbdae78 to your computer and use it in GitHub Desktop.
Setting up the WordPress Meta Environment on VVV
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git clone https://github.com/WordPress/meta-environment.git www/WordPress-meta-environment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git clone https://github.com/Varying-Vagrant-Vagrants/VVV.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd VVV | |
$ vagrant plugin install vagrant-hostsupdater |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ vagrant up --provision |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment