This site uses Yarn 3 to manage package dependencies. If you do not have Yarn 3 installed, follow these instructions:
-
Install Node.js LTS. At the time of writing, the latest LTS version is
v16.15.1
. -
Install Yarn 3 by running the following command:
corepack enable
Corepack is a binary shipped with all Node.js releases starting from 16.10.
-
Update Yarn to the latest version by running the following command:
yarn set version stable
-
Make sure you are now using version 3.2.2 of Yarn:.
yarn --version
That's it. For more information on Yarn 3 usage, see Yarn usage.
To build this site locally and contribute changes, follow these steps:
-
Fork the repo into your own account, then clone it to a local directory.
git clone [email protected]:AdobeDocs/commerce-php.git
-
In the repo's root, run this command to install dependencies:
yarn install
-
Run this command to build the site locally and auto-launch your browser:
yarn dev
To learn about all the enhanced markdown features you can use, see the Adobe I/O Theme README. Highlights include: