dockware
Search…
Setup Github Version
Let's start again with our environment. You need the same things as already mentioned in the dev version of Shopware. If you are not familiar with the dev version, you might want to read through that first.
Let's take a look at our main goals for the contribution version.
    1.
    Start Docker
    2.
    Prepare Development + IDE
    3.
    GitHub Fork and Remote
1. Start Docker
Start dockware with our docker-compose.yml template file or your own file. We recommend creating a new folder for your project that contains your docker files.
docker-compose.yml
1
version: "3"
2
3
services:
4
5
shopware:
6
image: dockware/contribute:latest
7
container_name: shopware
8
ports:
9
- "80:80"
10
- "3306:3306"
11
- "22:22"
12
- "8888:8888"
13
- "9999:9999"
14
networks:
15
- web
16
17
networks:
18
web:
19
external: false
Copied!
2. Prepare Development + IDE
Download the source code, and open it in your IDE.
ON HOST
1
mkdir -p ./src
2
docker cp shopware:/var/www/html/. ./src
Copied!
You will now see a folder "platform" that contains Shopware 6.
There are indeed 2 repositories inside each other.
    shopware/development The main symfony project that has Shopware as dependency in the vendor folder
    shopware/platform This is the actual Shopware 6 source code. It should be modified in the directory "platform" and is automatically symlinked to the vendor directory of our symfony development project.
Now add the SFTP connection again to upload changes to the dockware container.
Congratulations! That's it, you're ready to improve Shopware and help the community!
Please keep in mind, that you should only develop in the folder "platform"!
3. GitHub Fork and Remote
To create pull requests, you need to have a fork of the Shopware platform on GitHub. Open this page, sign in on the GitHub page and fork the repository:
Afterwards add your new fork as remote in your local git repository. Open your platform directory in your terminal and execute these commands with your username:
ON HOST
1
git remote add myfork https://github.com/USERNAME/platform.git
Copied!
Last modified 2mo ago
Copy link