Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.

How to test Recalibration locally? (obsolete)

manuelaugustin edited this page Sep 3, 2020 · 1 revision

In local environment (aka Example)

In this way you can test any changes that were introduced in YoastSEO.js.

  1. Go to the root of YoastSEO.js (in your branch)
  2. yarn
  3. cd examples/webpack
  4. yarn
  5. yarn start-recalibration

In the Plugin

With development server

In this way you can test any changes that were introduced in YoastSEO.js and/or wordpress-seo / wordpress-seo-premium.

  1. Go to your YoastSEO.js branch
  2. yarn
  3. yarn link
  4. Go to your wordpress-seo or wordpress-seo-premium branch
  5. yarn link yoastseo
  6. yarn (these two steps can be executed just once)
  7. (only in premium) cd premium
  8. (only in premium) yarn
  9. (only in premium) grunt build
  10. (only in premium) cd ..
  11. composer install
  12. grunt build:css
  13. grunt build:js
  14. yarn start-recalibration
  15. Go to your /VVV/www/wordpress-default/public_html/wp-config.php and check if his line is not commented

define( 'YOAST_SEO_DEV_SERVER', true );

  1. Go to WordPress and make sure you are using the right Yoast SEO plugin.
  2. NB: Open the SEO settings in WordPress: The recalibration toggle should be set to default, not recalibration!

Without development server

In this way you can test any changes that were introduced in YoastSEO.js and/or wordpress-seo / wordpress-seo-premium.

  1. Go to your YoastSEO.js branch
  2. yarn
  3. yarn link
  4. Go to your wordpress-seo or wordpress-seo-premium branch
  5. yarn link yoastseo
  6. yarn (these two steps can be executed just once)
  7. (only in premium) cd premium
  8. (only in premium) yarn
  9. (only in premium) grunt build
  10. (only in premium) cd ..
  11. composer install
  12. grunt build:css
  13. grunt build:js
  14. grunt webpack:recalibrationDev
  15. Go to your /VVV/www/wordpress-default/public_html/wp-config.php and check if his line is commented

// define( 'YOAST_SEO_DEV_SERVER', true );

  1. Go to WordPress and make sure you are using the right Yoast SEO plugin.
  2. NB: Open the SEO settings in WordPress: The recalibration toggle should be set to default, not recalibration!