Skip to content

Commit

Permalink
♾️ ITR - master:
Browse files Browse the repository at this point in the history
  • Loading branch information
brandoncamenisch committed Dec 22, 2019
1 parent f37db19 commit b41b682
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 4 additions & 3 deletions vvv/build-me-vvv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ echo -e "\nInstalling coretech..."
if [ ! -d "www/pmc/coretech/pmc-core" ]; then git clone https://bitbucket.org/penskemediacorp/pmc-core.git www/pmc/coretech/pmc-core; fi
if [ ! -d "www/pmc/coretech/pmc-core-2017" ]; then git clone https://bitbucket.org/penskemediacorp/pmc-core-2017.git www/pmc/coretech/pmc-core-2017; fi
if [ ! -d "www/pmc/coretech/pmc-core-v2" ]; then git clone https://bitbucket.org/penskemediacorp/pmc-core-v2.git www/pmc/coretech/pmc-core-v2; fi
if [ ! -d "www/pmc/coretech/pmc-robbreport-2017-v2" ]; then git clone https://bitbucket.org/penskemediacorp/pmc-robbreport-2017-v2.git www/pmc/coretech/pmc-robbreport-2017-v2; fi
if [ ! -d "www/pmc/coretech/pmc-plugins" ]; then git clone https://bitbucket.org/penskemediacorp/pmc-plugins.git www/pmc/coretech/pmc-plugins; fi

echo -e "\nInstalling go plugins... According to https://wpvip.com/documentation/vip-go/local-vip-go-development-environment/#vvv-for-vip-go-development"
Expand Down Expand Up @@ -106,7 +105,7 @@ select yn in "yes" "no"; do case $yn in

# coretech symlink
vagrant ssh -- -t "ln -svf /srv/www/pmc/coretech/* /srv/www/wpcom/public_html/wp-content/themes/vip"
vagrant ssh -- -t "ln -svf /srv/www/pmc/coretech/pmc-core-* /srv/www/wpcom/public_html/wp-content/themes"
vagrant ssh -- -t "ln -svf /srv/www/pmc/coretech/pmc-core* /srv/www/wpcom/public_html/wp-content/themes"

# install primary theme
wpcom_sites=$(vagrant ssh -- -t "yaml2json /tmp/config.yml | jq -r '.sites.wpcom.hosts[]'") # pull directly from config
Expand Down Expand Up @@ -152,7 +151,9 @@ select yn in "yes" "no"; do case $yn in
vagrant ssh -- -t "ln -svf /srv/www/pmc/vipgo/vip-go-mu-plugins-built/* /srv/www/$i/public_html/wp-content/mu-plugins"

# coretech symlink
vagrant ssh -- -t "ln -sf /srv/www/pmc/coretech/* /srv/www/$i/public_html/wp-content/themes/vip"
vagrant ssh -- -t "ln -svf /srv/www/pmc/coretech/* /srv/www/$i/public_html/wp-content/themes/vip"
vagrant ssh -- -t "ln -svf /srv/www/pmc/coretech/pmc-core* /srv/www/$i/public_html/wp-content/themes"
vagrant ssh -- -t "ln -svf /srv/www/pmc/coretech/pmc-plugins /srv/www/$i/public_html/wp-content/plugins"

# install primary theme
if [ ! -d www/$i/public_html/wp-content/themes/$i ]; then git clone https://bitbucket.org/penskemediacorp/$i.git www/$i/public_html/wp-content/themes/$i; fi
Expand Down
1 change: 0 additions & 1 deletion vvv/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ sites:
- pmc-deadline-2019.wpcom.test
- pmc-footwearnews-2018.wpcom.test
- pmc-hollywoodlife-2017.wpcom.test
- pmc-sheknows-2018.wpcom.test
- pmc-spy.wpcom.test
- pmc-summits.wpcom.test
- pmc-summits-rr1.wpcom.test
Expand Down

0 comments on commit b41b682

Please sign in to comment.