This is a WordPress repository configured to run on the Pantheon platform.
Pantheon is website platform optimized and configured to run high performance sites with an amazing developer workflow. There is built-in support for features such as Varnish, Redis, Apache Solr, New Relic, Nginx, PHP-FPM, MySQL, PhantomJS and more.
The World is a public radio program that crosses borders and time zones to bring home the stories that matter. From PRX.
PRX is shaping the future of audio by building technology, training talented producers and connecting them with supportive listeners.
>=3.6
^16.x
>=3.6
>=2.3
This repository uses Lando for local development. Run the following commands:
lando start
reference/
directory. If a database export does not exist within this directory the script will attempt to pull the database from Pantheon's dev environment. After a successful import it will find and replace all domain records in the database with your local domain and import any configuration bundles saved to wp-content/config
. Finally, it will generate a local-admin
user for you.npm run refresh
Run composer install
to install dev dependencies. Install latest version of Composer if you don't already have it installed.
Install the following extension:
To use the helper script provided you will need to have npm
installed. These commands are bash scripts located in the ./scripts
directory and defined in package.json
.
Run nvm use
prior to running the scripts below.
npm run local
- Imports configuration bundles and verifies all domain records in the database use your local domain.
npm run refresh
- See the lando refresh
description above.
npm run config-export
- Updates configuration bundles stored in wp-content/config/
with any changes staged in the database.