Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Updated for new Primary Vagrant folder structure

  • Loading branch information
ChrisWiegman committed May 23, 2016
1 parent bc27853 commit 80bf9be6469eb8e3a3bde123bf8e95708afcd1c4
Showing with 14 additions and 14 deletions.
  1. +3 −3 README.md
  2. +10 −10 pv-init.sh
  3. +1 −1 pv-mappings
@@ -7,9 +7,9 @@ A WordPress VIP site configuration for [Primary Vagrant](https://github.com/Chri

Clone the Primary Vagrant VIP Add-on to _www/vip_ in your Primary Vagrant Folder

```git clone https://github.com/ChrisWiegman/Primary-Vagrant-VIP.git www/vip```
```git clone https://github.com/ChrisWiegman/Primary-Vagrant-VIP.git user-data/sites/vip```
Copy _vip.wordpress.pv.pp_ to the _userdata/siteconf_ folder
Copy _vip.wordpress.pv.pp_ to the _user-data/vhosts_ folder
Run Vagrant up.
@@ -20,4 +20,4 @@ To access the WordPress VIP development site:
**Username:** admin
**Password:** password
**Password:** password
@@ -1,26 +1,26 @@
#!/bin/bash

# VIP Plugin - VIP Scanner
if [ ! -d "www/vip/wp-content/plugins/vip-scanner/.git" ]; then
git clone --recursive https://github.com/Automattic/vip-scanner www/vip/wp-content/plugins/vip-scanner
if [ ! -d "user-data/sites/vip/wp-content/plugins/vip-scanner/.git" ]; then
git clone --recursive https://github.com/Automattic/vip-scanner user-data/sites/vip/wp-content/plugins/vip-scanner
fi

# VIP Plugin - JetPack
if [ ! -d "www/vip/wp-content/plugins/jetpack/.git" ]; then
git clone https://github.com/Automattic/jetpack www/vip/wp-content/plugins/jetpack
if [ ! -d "user-data/sites/vip/wp-content/plugins/jetpack/.git" ]; then
git clone https://github.com/Automattic/jetpack user-data/sites/vip/wp-content/plugins/jetpack
fi

# VIP Plugin - Media Explorer
if [ ! -d "www/vip/wp-content/plugins/media-explorer/.git" ]; then
git clone https://github.com/Automattic/media-explorer www/vip/wp-content/plugins/media-explorer
if [ ! -d "user-data/sites/vip/wp-content/plugins/media-explorer/.git" ]; then
git clone https://github.com/Automattic/media-explorer user-data/sites/vip/wp-content/plugins/media-explorer
fi

# VIP Plugin - Writing Helper
if [ ! -d "www/vip/wp-content/plugins/writing-helper/.git" ]; then
git clone https://github.com/automattic/writing-helper www/vip/wp-content/plugins/writing-helper
if [ ! -d "user-data/sites/vip/wp-content/plugins/writing-helper/.git" ]; then
git clone https://github.com/automattic/writing-helper user-data/sites/vip/wp-content/plugins/writing-helper
fi

# VIP Plugin - VIP Scanner
if [ ! -d "www/vip/wp-content/plugins/amp/.git" ]; then
git clone https://github.com/automattic/amp-wp www/vip/wp-content/plugins/amp
if [ ! -d "user-data/sites/vip/wp-content/plugins/amp/.git" ]; then
git clone https://github.com/automattic/amp-wp user-data/sites/vip/wp-content/plugins/amp
fi
@@ -1 +1 @@
config.vm.synced_folder "www/vip", "/var/www/vip.wordpress.pv", :owner => "www-data", :mount_options => [ "dmode=775", "fmode=774" ]
config.vm.synced_folder "user-data/sites/vip", "/var/www/vip.wordpress.pv", :owner => "www-data", :mount_options => [ "dmode=775", "fmode=774" ]

0 comments on commit 80bf9be

Please sign in to comment.
You can’t perform that action at this time.