Merge pull request woocommerce/woocommerce-admin#2826 from woocommerce/add/composer-install-readme

Readme: add composer install step
This commit is contained in:
Paul Sealock 2019-08-22 13:25:32 +12:00 committed by GitHub
commit 1b423972e3
1 changed files with 6 additions and 1 deletions

View File

@ -16,7 +16,12 @@ For better debugging, it's also recommended you add `define( 'SCRIPT_DEBUG', tru
## Development ## Development
After cloning the repo, install dependencies with `npm install`. Now you can build the files using one of these commands: After cloning the repo, install dependencies:
- `npm install` to install JavaScript dependencies.
- `composer install` to gather PHP dependencies.
Now you can build the files using one of these commands:
- `npm run build` : Build a production version - `npm run build` : Build a production version
- `npm run dev` : Build a development version - `npm run dev` : Build a development version