How to install the Commerce SDK of D365 in the Visual Studio Code from Start ?
Step 1:
Install the Visual Studio Code on your window. The link is attached below:
Step 2:
Install Node.js on your machine/window. The link is attached below:
Step 3:
Now download the Commerce SDK from the following link:
Step 4:
Open the Visual Studio and open the folder that you have download from the above link as shown in the figure:
Step 5 :
Update the .env file in the folder Msdyn365.Commerce.Online as shown below
The text in the above image is:
MSDyn365_APP_TYPE=partner
PORT=4000
MSDyn365_HOST=r2tie.fabrikam.com/modern/
MSDyn365Commerce_BASEURL=https://comme2e-tie-ring2a9136f7d174e86daret.cloud.retail.test.dynamics.com/
MSDyn365Commerce_CHANNELID=68719478279
MSDyn365Commerce_CATALOGID=0
MSDyn365Commerce_OUN=128
MSDyn365Commerce_BASEIMAGEURL=https://images-us-sb.cms.commerce.dynamics.com/cms/api/rnbrmdbgjb/imageFileData/search?fileName=/
Step 6:
Install yarn on the visual studio code by the command below:
npm install --global yarn
Step 7:
Now run the command:
yarn
it will take time to execute.
Step 8:
Now run the command
yarn start
Now run the command to check the site:
https://localhost:4000/version
Comments