Shopware 6

Shopware is a open source e-commerce software powered by Symfony and Vue.js. The community edition is distributed under the MIT license. It’s the successor of Shopware 5.


Note

For this guide you should be familiar with the basic concepts of

License

All relevant legal information can be found here

Prerequisites

We’re using PHP in the stable version 7.2:

[isabell@stardust ~]$ uberspace tools version show php
Using 'PHP' version: '7.2'
[isabell@stardust ~]$

You’ll need your MySQL credentials. Get them with my_print_defaults:

[isabell@stardust ~]$ my_print_defaults client
--default-character-set=utf8mb4
--user=isabell
--password=MySuperSecretPassword
[isabell@stardust ~]$

Your shop URL needs to be setup:

[isabell@stardust ~]$ uberspace web domain list
isabell.uber.space
[isabell@stardust ~]$

Installation

Download

Check the Shopware website for the latest release and copy the URL to the ZIP file. Replace the URL with the one you just copied.

[isabell@stardust ~]$ cd /var/www/virtual/$USER/
[isabell@stardust isabell]$ curl -o shopware.zip https://releases.shopware.com/sw6/install_6.0.0_ea2_1571125323.zip
[isabell@stardust isabell]$ unzip -d shopware shopware.zip
[isabell@stardust isabell]$ rm shopware.zip
[isabell@stardust isabell]$

Since Shopware uses the sub directory public/ as the DocumentRoot, you need to remove your DocumentRoot and create a symlink to the shopware/public/ directory:

Warning

Make sure html is empty before deleting it. If there are any files you want to keep in html, you can also rename the folder instead of deleting it.

[isabell@stardust isabell]$ rm -rf html
[isabell@stardust isabell]$ ln -s /var/www/virtual/$USER/shopware/public html
[isabell@stardust isabell]$

Setup

Point your browser to your domain, e.g. https://isabell.uber.space and follow the instructions to set up Shopware. We suggest you use an additional database. For example: isabell_shopware.

Configuration

PHP Memory

In order to increase the memory limit of php to the recommended value of 512 MB, go to $HOME/etc/php.d/, create memory_limit.ini and add the following line:

memory_limit = 512M

Updates

Note

Check the update feed regularly to stay informed about the newest version.


Tested with Shopware 6.0.0-ea2 , Uberspace 7.3.8.1

Written by: Yannick Ihmels <yannick@ihmels.org>