Contribute with ddev
This page explains how to setup a local contributing environment for Shopware 6' community edition with ddev.
While Shopware 6 comes with a predefined Docker setup file, there is a good reason to use ddev for your local contribution environment: It can be booted in parallel with other ddev projects. In fact, I often have one or more client projects up and running at the same time as a contribution environment.
Within your contribution project folder, initiate ddev with the following command:
Adjust the php and nodejs versions to the current requirements.
Start ddev and ssh into the web container:
Clone your fork of Shopware:
Install the dependencies:
Create a .env file and the jwt secrets:
The database user, password, host and database are all the same, just: 'db'. I recommend to go for a "dev" setup.
Initialize the database and build the administration and storefront components:
Voilá, you are set! Run
to bring up the admin UI in your web browser. The admin credentials, as usual are 'admin' and 'shopware'.
Happy contributing!
Last updated