Global Component Library
The Global Component Library stores the files used to generate the Fozzie documentation website.
Usage
To get up and running with the Fozzie Component Library, follow these steps:
- Clone this repo to your local machine
git clone https://github.com/justeat/global-component-library.git
- In your command prompt, run
yarn
from the base of the project. This will install all of the necessary project dependencies. - Once installed, run
gulp docs
in your command prompt. This will compile and run a local version of the site. This should look like the component library hosted at https://fozzie.just-eat.com/
Deploying a new version
If you've added new documentation to the component library, it's important that it's deployed to the public site at https://fozzie.just-eat.com/.
To do this, run gulp docs:deploy
from the root of the project in your command prompt. This runs a gulp task that will compile and deploy the site to Github pages.