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.
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]$ 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.