Skip to content

Commit

Permalink
fix: update readme to include storybook instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ana Clara Bustamante Biscaro de Castro Luz committed Apr 14, 2023
1 parent 65b40e1 commit 974d727
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,19 +75,17 @@ To start the storybook in a local server use `yarn start`.

## How to run the storybook

:bulb: **In this case, it's best to run using `npm`!**

Just follow the steps listed below and you will be able to run the storybook.

1. After the checkout to the `vNext` branch, in order to install the dependencies run the command `npm i` on the root;
2. Now, run the command `cd storybook` to enter the storybook folder, then again run the command `npm i` to install the dependencies inside the storybook folder;
3. Finally, run the command `npm run serve` inside the storybook folder.
1. After the checkout to the `vNext` branch, in order to install the dependencies run the command `yarn install` on the root;
2. Now, run the command `cd storybook` to enter the storybook folder, then again run the command `yarn install` to install the dependencies inside the storybook folder;
3. Finally, run the command `yarn serve` inside the storybook folder.

In other words, these are the commands you're going to use in order of execution:

```
npm i
yarn install
cd storybook
npm i
npm run serve
yarn install
yarn serve
```

0 comments on commit 974d727

Please sign in to comment.