You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 recommendversion 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.
The text was updated successfully, but these errors were encountered:
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
2. Install Dependencies
3. Build static storybook
The static site should now be located in a
/public
directory.The text was updated successfully, but these errors were encountered: