This is the Carbon Design System website which is built using GatsbyJS.
src
├── components
├── content
├── data
├── layouts
├── pages
├── styles
├── templates
Install dependencies:
yarn
Build website-addons package:
cd packages/addons-website
yarn build
Run dev environment:
yarn dev
Run internal dev environment:
yarn dev:internal
Add-on development /packages/addons-website
uses storybook:
yarn storybook
If you need more detailed information on how to setup your machine to develop locally, please take a look at our wiki.
Runing the build commands generates all the files and places them in the public
folder.
Build external site:
yarn build:external
Build internal site:
yarn build:internal