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_AUTHor 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: pmcAfter 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.gitInstall PMC Plugins (opens in a new tab) to wp-content/themes/vip/:
git clone [email protected]:penskemediacorp/pmc-plugins.gitPipeline and testing
Start up the app first by building the docker image:
docker-compose up --build -d --force-recreate --remove-orphansBuild the dependencies:
docker-compose run --rm build-npm
docker-compose run --rm build-phpInstall WordPress:
docker-compose run --rm cliRun 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/shRun CI:
wget --no-cache -O - https://raw.githubusercontent.com/penske-media-corp/alpine-wordpress/master/_ss/global/_ss-ci.sh | shCritical files for CI/CD
##Notes Add any additional notes that are app specific here