Skip to content

Commit

Permalink
Merge pull request #302 from chromaui/suggested-gitignore
Browse files Browse the repository at this point in the history
Add a section on configuring `.gitignore`
  • Loading branch information
jonniebigodes authored Oct 30, 2023
2 parents 0a0ba90 + ab26d03 commit 782dfcc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/content/getStarted/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,21 @@ If you allowed `chromatic` to add the above line, it will also have written the

</details>

<details>

<summary>Setup .gitignore to ignore certain files in your Git repository</summary>

Running the Chromatic command may generate certain files for logging and debugging purposes. Exactly which files it generates depends on your configuration, but these entries should likely be added to your `.gitignore` file:

```
build-storybook.log
chromatic.log
chromatic-build-*.xml
chromatic-diagnostics.json
```

</details>

## Run Chromatic

Once you installed the `chromatic` package and have a project token, run the following command in your project directory.
Expand Down

1 comment on commit 782dfcc

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.