Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jul 3, 2020. It is now read-only.

shopwareArchive/shopware-docker

Repository files navigation

Build Status

Docker Shopware Box

Installation

Docker (min. Version 1.12) have to be installed on your local machine:

Usage

Clone the repository to your local machine.

$ git clone https://github.com/shopwareLabs/shopware-docker
$ cd shopware-docker

Boot up your docker containers with psh.phar:

$ ./psh.phar docker:start

The first boot may take a while, so feel free to get a cup of coffee.

Your machine will be available at http://localhost:8083/ All required tools like the LAMP stack are already installed.

  • MySQL user: app, password: app

To SSH into the created Container:

$ ./psh.phar docker:ssh

Installing Shopware

SSH first into your VM:

$ ./psh.phar docker:ssh

Call the init script:

$ ./psh.phar init

This will download the latest release version of shopware and install it into /var/www/shopware/shopware

If you want an older shopware version just add --sw-version to the init script:

$ ./psh.phar init --sw-version=5.2.26

For plugin development

For plugin development there is a script init-vcs to initialize and install shopware through github.

$ ./psh.phar init-vcs --sw-branch=5.2

The plugin(s) you want to start development should be located in ./plugins (Only new plugin system is supported). They can be installed and linked into the Shopware checkout by executing

$ ./psh.phar init-plugins

This can be used together with our plugin-dev-tools as the local environment.

Access

Configure your online store in a web browser with the credentials demo/demo:

You can then access your storefront at:

Troubleshooting

If the elasticsearch or redis container didn't start make sure that the directory dev-ops/docker/_volumes/app-esdata|app-redisdata has chmod 777.

About

A docker setup ready for shopware development

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7

AltStyle によって変換されたページ (->オリジナル) /