ddev start
ddev build
The site will be available at https://packt.ddev.site and Storybook will be available at https://packt.ddev.site:6006.
When developing, you can use the following commands:
ddev browsersync
to start the browser sync server (site is then available at https://packt.ddev.site:3000)- (on a new tab)
ddev watch
to watch for changes in the theme and compile them - (on a new tab)
ddev storybook-watch
to watch for changes in the Storybook stories and compile them
export-content
to export the content of the sitestorybook-lint
to lint the Storybook storiestheme [command]
to run a command in the theme directorybackstop-init
to initialize BackstopJSbackstop
to run BackstopJS