Reputation: 21
I've been trying to get a Shopware 5 development setup up and running on my Win 10 PC, for the last few days, but without success.
I've tried with vagrant, docker or plain old Xampp, but I've never been able to get to the DemoShop page. Either I keep on getting PHP errors during the Shopware setup, or I won't reach the server ever. (get error on missing or outdated library, another one, one more, then a PHP syntax error in the shopware/recovery/instals files) I've followed 4-5 different tutorials by now and I was wandering if there are Shopware developers here, that maybe could help with / suggest an easy-to-install setup.
I'm mostly trying to get this up and running on my pc, to learn this environment, because in a month or so, I'll start working for a new company, and I wanted to get ahead.
Thank you very much, if you have any questions I'll be happy to answer.
Upvotes: 2
Views: 492
Reputation: 941
There are different docker setups for shopware. The most straighforward, out of the box solution is dockware, which also supports Shopware 5 and has been reported to work on Windows.
You can pull from dockerhub or use docker-compose to do so.
This is my docker-compose.yml
based on the dockware documentation. I only tested on Ubuntu so far.
version: "3"
services:
shopware:
image: dockware/dev:5.6.9
container_name: shopware
ports:
- "80:80"
- "22:22"
# Admin Watcher Port
- "8888:8888"
# Storefront Watcher Port
- "9999:9999"
environment:
- PHP_VERSION=7.4
- XDEBUG_ENABLED=1
volumes:
- "db_volume:/var/lib/mysql"
- "shop_volume:/var/www/html"
volumes:
db_volume:
driver: local
shop_volume:
driver: local
Upvotes: 1