Skip to content
Snippets Groups Projects
Commit d081445d authored by Stephanie Freitag's avatar Stephanie Freitag
Browse files

Merge branch 'HOLI-10392-holi-bricks-mprocs' into 'main'

HOLI-10392: add script to start holi-bricks storybook and include in list of ports

See merge request app/holi-meta!64
parents 06b1ccd3 48c761a6
No related branches found
No related tags found
No related merge requests found
...@@ -306,6 +306,9 @@ The following table lists all ports that are used for local execution. ...@@ -306,6 +306,9 @@ The following table lists all ports that are used for local execution.
| moderation ui (backoffice) | 5173 | | moderation ui (backoffice) | 5173 |
| moderation backend | 3001 | | moderation backend | 3001 |
| moderation federator | 8080 | | moderation federator | 8080 |
| | |
| storybook (holi-bricks) | 6006 |
| storybook (legacy) | 6007 |
## Terraform authentication (optional) ## Terraform authentication (optional)
......
...@@ -9,7 +9,15 @@ procs: ...@@ -9,7 +9,15 @@ procs:
env: env:
DEV_ENV: local DEV_ENV: local
shell: ./mprocs-start-web.sh 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 cwd: <CONFIG_DIR>/holi-frontends
shell: > shell: >
if [ "$LOCAL_BACKEND_STORYBOOK" = "true" ]; then if [ "$LOCAL_BACKEND_STORYBOOK" = "true" ]; then
......
...@@ -13,7 +13,15 @@ procs: ...@@ -13,7 +13,15 @@ procs:
shell: > shell: >
. ./.envrc.local; . ./.envrc.local;
yarn web:dev 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 cwd: <CONFIG_DIR>/holi-frontends
shell: > shell: >
if [ "$LOCAL_BACKEND_STORYBOOK" = "true" ]; then if [ "$LOCAL_BACKEND_STORYBOOK" = "true" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment