-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
It would be great to have a single command to set up and run the pattern library (Storybook).
Development instructions are here https://docs.wagtail.org/en/stable/contributing/developing.html#using-the-pattern-library
This would need to run two servers, the Wagtail / Django server against the test database and also the Storybook local development server.
e.g. make pattern-library
- which would run the following...
export DJANGO_SETTINGS_MODULE=wagtail.test.settings_ui
# Assumes the current environment contains a valid installation of Wagtail for local development.
./wagtail/test/manage.py migrate
./wagtail/test/manage.py createcachetable
./wagtail/test/manage.py runserver 0:8000
# In a separate terminal: - serves by default at :6006
npm run storybook
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed