From 737c172d5052b20e60d4e9e4371e3ba15347902b Mon Sep 17 00:00:00 2001 From: Robert Harris Date: Thu, 25 Apr 2019 21:51:33 -0700 Subject: [PATCH] docs: update documentation for starting storybook (#67) --- .../packages/superset-ui-plugins-demo/README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/packages/superset-ui-plugins-demo/README.md b/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/packages/superset-ui-plugins-demo/README.md index f9d2ede96087d..fbd50b5a5c215 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/packages/superset-ui-plugins-demo/README.md +++ b/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/packages/superset-ui-plugins-demo/README.md @@ -10,11 +10,14 @@ Storybook of `@superset-ui` packages. See it live at #### Run storybook -To view the storybook locally, you should first run `yarn install && yarn run bootstrap` in the -`@superset-ui` monorepo root directory, which will install all dependencies for this package and -sym-link any `@superset-ui` packages to your local system. - -After that run `yarn run storybook` which will open up a dev server at http://localhost:9001. +To view the storybook locally, you should: + +1. Clone the [superset-ui](https://github.com/apache-superset/superset-ui) monorepo. +2. Run `yarn install && yarn run bootstrap` in the `superset-ui` root directory. This will install all dependencies for this package and sym-link any `@superset-ui` packages to your local system. +3. Clone [superset-ui-plugins](https://github.com/apache-superset/superset-ui-plugins) repo. +4. Run `yarn install && yarn build` in the `superset-ui-plugins` root directory. +5. Change to the demo directory `cd packages/superset-ui-plugins-demo`. +6. Run `yarn run storybook`. This will open up a dev server at http://localhost:9001. #### Adding new stories