Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy Core Components Storybook #31

Closed
nathanstilwell opened this issue Apr 21, 2020 · 0 comments · Fixed by #42
Closed

Deploy Core Components Storybook #31

nathanstilwell opened this issue Apr 21, 2020 · 0 comments · Fixed by #42
Assignees
Labels
📝 docs Contributes to documentation or Storybook

Comments

@nathanstilwell
Copy link
Contributor

The Core Components Catalog is currently build using Storybook which can be built into a static site which make is quite versatile to be hosted in any number of places.

Given our current infrastructure, I believe the best place to host would be in GCP. Maybe a Cloud Storage Bucket? There will most likely be some investigation and recommendation involved in this task.

Once a suitable place has been provisioned, we will need a build process to checkout, build, and deploy the static site.

Generating static storybook

Assuming a version of Node.js is installed. (We recommend version 12 or higher)

1. Clone this repository

> git clone git@github.com:cockroachdb/ui.git

2. Install Dependencies

> npx lerna bootstrap

3. Build static storybook

> cd /path/to/ui-repo/packages/storybook-ui-components;
> npm run build;

The static site should now be located in a /public directory.

@nathanstilwell nathanstilwell added the 📝 docs Contributes to documentation or Storybook label Apr 21, 2020
@nathanstilwell nathanstilwell changed the title [storybook] Deploy Core Components Storybook Deploy Core Components Storybook Apr 21, 2020
@laurenbarker laurenbarker self-assigned this May 4, 2020
@laurenbarker laurenbarker moved this from Todo to In Progress in Cloud Fix it Sprint (Design Systems) May 4, 2020
Cloud Fix it Sprint (Design Systems) automation moved this from In Progress to Done May 7, 2020
dhartunian pushed a commit to dhartunian/ui that referenced this issue Dec 11, 2020
extend Diagnostics column for statements page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📝 docs Contributes to documentation or Storybook
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants