Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shopwareArchive/shopware-docker
A docker setup ready for shopware development
https://github.com/shopwareArchive/shopware-docker
docker shopware
Last synced: 3 months ago
JSON representation
A docker setup ready for shopware development
- Host: GitHub
- URL: https://github.com/shopwareArchive/shopware-docker
- Owner: shopwareArchive
- Archived: true
- Created: 2017-02-10T07:17:09.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-19T10:18:25.000Z (over 4 years ago)
- Last Synced: 2024-05-18T17:53:56.695Z (6 months ago)
- Topics: docker, shopware
- Language: Shell
- Homepage:
- Size: 1.98 MB
- Stars: 75
- Watchers: 26
- Forks: 37
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-shopware - shopware-docker - A Docker setup ready for Shopware development. (Local Development)
README
[![Build Status](https://travis-ci.org/shopwareLabs/shopware-docker.svg?branch=master)](https://travis-ci.org/shopwareLabs/shopware-docker)
Docker Shopware Box
====================## Installation
Docker (min. Version 1.12) have to be installed on your local machine:
- [Docker](https://docs.docker.com/engine/installation/linux/)
## Usage
Clone the repository to your local machine.
$ git clone https://github.com/shopwareLabs/shopware-docker
$ cd shopware-dockerBoot 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/](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/shopwareIf 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`](https://github.com/shopwareLabs/plugin-dev-tools) as the `local` environment.
#### Access
Configure your online store in a web browser with the credentials demo/demo:
- Backend: [http://localhost:8083/backend/](http://localhost:8083/backend/)
You can then access your storefront at:
- Front-end: [http://localhost:8083/](http://localhost:8083/)
## 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.