Using shopware-cli with ddev
This page explains how to use shopware-cli with ddev. shopware-cli replaces some of Shopware's commands (like bin/storefront-build.sh), and adds a set of useful commands.
For basic information on shopware-cli see Shopware docs.
To install shopware-cli within your ddev project, add a file .ddev/web-build/Dockerfile.shopware-cli with the following contents:
# .ddev/web-build/Dockerfile.shopware-cli
COPY --from=shopware/shopware-cli:bin /shopware-cli /usr/local/bin/shopware-cliRun ddev restart to activate the changes.
PreviousLess than 5 Minutes Install with ddev and Symfony FlexNextStorefront and Admin Watchers with ddev
Last updated
Was this helpful?