diff --git a/README.md b/README.md index 334f685e1b3f805b02e4d281a6f4ca325f6efe2a..1bbdc10c3d3446da5e3bfafcabc0ed21fdff0e3a 100644 --- a/README.md +++ b/README.md @@ -306,6 +306,9 @@ The following table lists all ports that are used for local execution. | moderation ui (backoffice) | 5173 | | moderation backend | 3001 | | moderation federator | 8080 | +| | | +| storybook (holi-bricks) | 6006 | +| storybook (legacy) | 6007 | ## Terraform authentication (optional) diff --git a/mprocs-local-backend.yaml b/mprocs-local-backend.yaml index 7964a74bf13e86ada5b96347079e8bbae9e27c43..fe59e959d172fd93f157c205db22873d7ea9fa77 100644 --- a/mprocs-local-backend.yaml +++ b/mprocs-local-backend.yaml @@ -9,7 +9,15 @@ procs: env: DEV_ENV: local shell: ./mprocs-start-web.sh - storybook: + storybook (holi-bricks web): + cwd: <CONFIG_DIR>/holi-frontends + shell: > + if [ "$LOCAL_BACKEND_STORYBOOK" = "true" ]; then + ./mprocs-start-holi-bricks.sh; + else + echo "Not starting local Storybook for holi-bricks because LOCAL_BACKEND_STORYBOOK is not set to 'true'"; + fi + storybook (legacy): cwd: <CONFIG_DIR>/holi-frontends shell: > if [ "$LOCAL_BACKEND_STORYBOOK" = "true" ]; then diff --git a/mprocs.yaml b/mprocs.yaml index bd61067b95ad4a6e3c4237549c47bf71d2241c62..396f3c24df1a4d2dc0a1672e7cf661260fd71ac2 100644 --- a/mprocs.yaml +++ b/mprocs.yaml @@ -13,7 +13,15 @@ procs: shell: > . ./.envrc.local; yarn web:dev - storybook: + storybook (holi-bricks web): + cwd: <CONFIG_DIR>/holi-frontends + shell: > + if [ "$LOCAL_BACKEND_STORYBOOK" = "true" ]; then + ./mprocs-start-holi-bricks.sh; + else + echo "Not starting local Storybook for holi-bricks because LOCAL_BACKEND_STORYBOOK is not set to 'true'"; + fi + storybook (legacy): cwd: <CONFIG_DIR>/holi-frontends shell: > if [ "$LOCAL_BACKEND_STORYBOOK" = "true" ]; then