Create a new WordPress site at
If you choose to use a different local domain, you must also update it within
webpack.config so that Browsersync can reload the site correctly.
Add the following to
wp-config.php for debugging (development scripts will not load properly without this):
define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true ); define( 'SCRIPT_DEBUG', true );
cd into your local
develop branch of this repository.
git clone -b develop https://github.com/WordImpress/WP-Business-Reviews-Core.git wp-business-reviews
Run composer to set up PHP code sniffing.
Install Yarn if you have not already. Test that Yarn is installed by running:
Install npm packages.
Activate the plugin in WordPress.
Launch site to compile development assets and watch for changes.
yarn production to generate minified assets suitable for production.
define( 'SCRIPT_DEBUG', true ); from
wp-config.php (minified assets will not load properly if