- Clone project.
- Run
ddev init.
This will clone the project from Git, spin up the DDEV environment and setup the site.
- Run
git checkout main && git pull. - Checkout a new branch
git checkout -b <branch-name>. - Re-run
ddev init.
Create the file if it doesn't already exist. Update it so that the web service has property platform: linux/x86_64.
services:
web:
platform: linux/x86_64Use ddev init command to setup your local from scratch
frontend dev- Build both storybook and theme for development environmentfrontend prod- Build both storybook and theme for production environmentfrontend watch:storybook- Watch asset changes with storybookfrontend watch:theme- Watch asset changes with theme
Storybook is accessible at URL - https://drupal-govcon.ddev.site:6006