Added notes about NVM

Claudio Sanches 2021-02-08 20:38:10 -03:00
parent ea9633b65b
commit 3bf2489eaa
1 changed files with 3 additions and 1 deletions

@ -18,7 +18,7 @@ This page will guide you through the process of setting up WooCommerce developme
Before starting, make sure you have the following software installed and working on your machine:
1. [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) to clone the WooCommerce repository (or your fork of the WooCommerce repository).
2. [NPM](https://www.npmjs.com/get-npm) to install Node packages used to build assets and other tasks.
2. [NVM](https://github.com/nvm-sh/nvm) to install Node.js and NPM.
3. [Composer](https://getcomposer.org/download/) to install PHP packages required by WooCommerce such as the `woocommerce-rest-api` and the `jetpack-autoloader`. It's also necessary to use the PHP CodeSniffer that ensures your code follows code standards.
## Configure a local WordPress instance
@ -58,6 +58,8 @@ To install WooCommerce dependencies (this includes some functionality such as Gu
```
$ cd ~/vagrant-local/www/wordpress-one/public_html/wp-content/plugins/woocommerce
$ nvm install 10.22.0
$ nvm use 10.22.0
$ npm install
$ composer install
```