Brands
Variety

PMC-VARIETY-2020

WordPress theme for pmc-variety https://pmc.com/contact

APP Details

  • Parent theme pmc-core-v2

Installation

  • git clone this repo
  • ensure your have a valid COMPOSER_AUTH or git auth credentials in your host environment to clone private repos
  • run through build steps listed below

Local Dev Setup

If starting from scratch:

For local development we are currently using VVV (opens in a new tab). Documentation and download instructions are in the repo.

Once VVV is running, add pmc.test site to config/config.yml under the sites: config in the vvv installation.

  pmc:
    repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template
    hosts:
      - pmc.test
    custom:
        wp_type: subdirectory
        wp_version: nightly
        db_name: pmc

After the config is added, run vagrant reload --provision on the root VVV installation to add the new site installation.

After initial VVV custom site installation:

Follow the VIP plugin installation instructions (opens in a new tab) for the VIP Platform.

Install the parent there pmc-core-v2 (opens in a new tab) to wp-content/themes/vip/:

git clone [email protected]:penskemediacorp/pmc-core-v2.git

Install PMC Plugins (opens in a new tab) to wp-content/themes/vip/:

git clone [email protected]:penskemediacorp/pmc-plugins.git

Pipeline and testing

Start up the app first by building the docker image:

docker-compose up --build -d --force-recreate --remove-orphans

Build the dependencies:

docker-compose run --rm build-npm
docker-compose run --rm build-php

Install WordPress:

docker-compose run --rm cli

Run tests:

docker-compose run --rm test-npm
docker-compose run --rm test-npm /bin/sh
docker-compose run --rm test-php
docker-compose run --rm test-php /bin/sh

Run CI:

wget --no-cache -O - https://raw.githubusercontent.com/penske-media-corp/alpine-wordpress/master/_ss/global/_ss-ci.sh | sh

Critical files for CI/CD

##Notes Add any additional notes that are app specific here