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.
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:
[isabell@stardust isabell]$ rm -f html/nocontent.html; rmdir 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>