Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.48 KB

File metadata and controls

49 lines (33 loc) · 1.48 KB

Open Fresno website documentation

This repository hosts the Storybook + Next.js testing environment for the Open Fresno website. It provides a sandbox for building, documenting, and testing UI components in isolation before they are integrated into the main site.

Note

The Open Fresno website repository is github.com/openfresno/openfresno.org. The code should be periodically kept up to date with the main repository by manually copy/pasting the src/ folder.

Prerequisites

Get Started

  1. Install the Node.js dependencies.

    pnpm i
    
  2. Start the Storybook development server.

    pnpm storybook
    
  3. (Optional) Preview the regular Next.js website.

    pnpm dev
    

Test

Learn about testing https://openfresno.github.io/fe-openfresno.org-doc/.

Warning

Critical tests should be included in the main website repository for use in CI/CD pipelines.

Resources