Apache 2.4 | PHP 7.2 | Redis | MySQL 8
- Clone the repository to your local machine
$ ssh git@github.com:rindevich/shopware.git shopware && cd shopware
- Use composer for create your new Shopware Project:
$ composer create-project shopware/composer-project shopware --no-interaction --stability=dev
- Build containers and run on background
$ docker-compose up -d
- Login to container, and install Shopware.
Credantials you can find in .env root folder
$ docker exec -it sw-server bash
$ composer install
$ ./app/install.sh
- Add Redis configuration to app/cocongif/config.php
'session' => array(
'save_handler' => 'redis',
'save_path' => "tcp://redis:6379",
),
'backendsession' => array(
'save_handler' => 'redis',
'save_path' => "tcp://redis:6379",
),
- Add to your local hosts
127.0.0.1 shopware.local
$ sudo nano /etc/hosts
- Login to backend and clear all caches
- Update the version number of shopware/shopware in the composer.json, e.g. from 5.4.0 to 5.4.1 after this version has been released:
"require": {
"shopware/shopware": "5.4.1",
...
Then run $ composer update shopware/shopware
to have Composer update the installed version of Shopware to the new version.
- Or
$ composer require shopware/shopware:5.5.x-dev --update-with-dependencies