Skip to content

rindevich/shopware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Containers for fast Shopware

Apache 2.4 | PHP 7.2 | Redis | MySQL 8

Instruction for usage

  1. Clone the repository to your local machine
$ ssh git@github.com:rindevich/shopware.git shopware && cd shopware
  1. Use composer for create your new Shopware Project:
$ composer create-project shopware/composer-project shopware --no-interaction --stability=dev

Composer Shopware Project

  1. Build containers and run on background
$ docker-compose up -d
  1. 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
  1. 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",
),
  1. Add to your local hosts 127.0.0.1 shopware.local
$ sudo nano /etc/hosts
  1. Login to backend and clear all caches

Extra feature:

Install Shopware profiler

Upgrading Shopware

  • 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

Maintained by: ETECTURE GbmH

About

Docker Images for Shopware. ETECTURE GmbH

Resources

Stars

Watchers

Forks

Packages

No packages published