Skip to content

bitpoke/stack-wordpress

Repository files navigation

WordPress

WordPress integration with Presslabs Stack

Development

Code goes in wordpress/wp-oem and tests go in tests folder.

Prerequisites

Getting started

$ git clone git@github.com:presslabs/stack-wordpress.git
$ composer install

Development server

$ wp server

Linting and testing

$ make lint
$ make test

Upgrading vendored WordPress

In order to bump the WordPress version you should use get-wp script. The script fetches the code from https://wordpress.org.

$ ./hack/get-wp VERSION

Upgrading vendored WordPress test suite

In order to bump the WordPress test suite you should use the get-wp-dev script. The script fetches the code from https://github.com/WordPress/wordpress-develop.

$ ./hack/get-wp-dev VERSION