Skip to content

PRX/The-World-CMS-Wordpress

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordPress

TODO: Explain Wordpress installation, if necessary.

PRX - The World

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.

Dependencies

Setup

TODO: Update instructions for Docker.

This repository uses Lando for local development. Run the following commands:

  1. Set up lando:

lando start

  1. Retrieve and export of the database and place it in the 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

Development

Composer Dependencies

Run composer install to install dev dependencies. Install latest version of Composer if you don't already have it installed.

  • PHPCS
  • WordPress Coding Standards Sniffer

VS Code Extensions

Install the following extension:

  • PHPCS (ikappas.phpcs)
  • PHP Sniffer (wongjn.php-sniffer)
  • EditorConfig for VS Code (EditorConfig.EditorConfig)

Theme Development

  • TBD

Helper scripts

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 asdf install prior to running the scripts below.

npm run refresh - See the lando refresh description above.

About

Wordpress CMS for The World

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 83.5%
  • JavaScript 11.4%
  • CSS 4.7%
  • TypeScript 0.3%
  • SCSS 0.1%
  • XSLT 0.0%