diff --git a/docs/developer/README.md b/docs/developer/README.md index bca81917f..b510ce71f 100644 --- a/docs/developer/README.md +++ b/docs/developer/README.md @@ -88,14 +88,13 @@ In fact, after the initial setup, you may notice that in your code editor, there ![Development Site Plugins/Themes](../media/gitignore—gatherpress.png) -#### Running PHPUnit Tests (`wp-env`) +#### Installing Dependencies -1. Install Node. [NVM](https://github.com/nvm-sh/nvm) is recommended, using `nvm use` in the GatherPress directory before any `npm` command. +1. Install the version of Node in `.nvmrc.`. [NVM](https://github.com/nvm-sh/nvm) can be used to achieve this. 2. Install [Composer](https://getcomposer.org/doc/00-intro.md) 3. In your terminal window, `cd` to the `gatherpress` directory -4. Run `npm install` to get node depdendencies +4. Run `npm install` to get node dependencies 5. Run `composer install` to get PHPUnit dependencies -6. Run `npm run test:unit:php` to execute tests #### To shut down your development session