Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sandrokeil/z-ray-doctrine2-demo

Zend Server Z-Ray Doctrine 2 plugin Shopware demo
https://github.com/sandrokeil/z-ray-doctrine2-demo

demo doctrine2 plugin z-ray zend zend-server

Last synced: 19 days ago
JSON representation

Zend Server Z-Ray Doctrine 2 plugin Shopware demo

Awesome Lists containing this project

README

        

# Zend Server Z-Ray Doctrine 2 plugin Shopware demo

Welcome to the [Zend Server Z-Ray Doctrine 2 plugin](https://github.com/sandrokeil/Z-Ray-Doctrine2) Shopware demo.
There are two installation methods. Please choose your prefered method. Windows user should choose
*Install with Vagrant*, but it works also for linux.

## Installation with Docker
First ensure Docker and Docker Compose are installed. If not simply install these tools as *root* with:

```bash
$: wget -qO- https://get.docker.com/ | sh
$: curl -L https://github.com/docker/compose/releases/download/1.4.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose
```
It's recommended to use the latest version of Docker and Docker Compose. Now let's start the containers with:

```bash
$: docker-compose up -d
```
Docker will now download all dependencies and starts the containers. This may take a while ...
See official [Zend Server Z-Ray Doctrine 2 plugin site](https://sandro-keil.de/blog/2015/01/27/doctrine-2-zend-server-z-ray-extension/ "Visit official plugin website") for some impressions.

## Installation with Vagrant
Please install the following software if not already installed:

* [Vagrant > 1.7.3](http://www.vagrantup.com/downloads.html)
* [Virtualbox > 4.3](https://www.virtualbox.org/wiki/Downloads)
* [Vagrant docker-compose plugin](https://github.com/leighmcculloch/vagrant-docker-compose) (`vagrant plugin install vagrant-docker-compose`)

```bash
$: vagrant up
```
All dependencies will be downloaded. This may take a while ...
See official [Zend Server Z-Ray Doctrine 2 plugin site](https://sandro-keil.de/blog/2015/01/27/doctrine-2-zend-server-z-ray-extension/ "Visit official plugin website") for some impressions.

## Install Z-Ray Doctrine 2 plugin
If the installation process was successful, you can now open the Zend Server backend url
[http://localhost:10081](http://localhost:10081). Please follow the instructions and ensure to use *development profile*
in order to enable Z-Ray.

It's necessary to install the Doctrine 2 Z-Ray plugin from the Zend Server Z-Ray plugin gallery. Simply click on the
install button of the Doctrine 2 plugin.

![Zend Server Plugin Gallery](docs/img/plugin_gallery.png)

## Finish Shopware installation
Now open [http://localhost:8080](http://localhost:8080/) and follow the Shopware install instructions.

**Database credentials:**

* Server: *mariadb*
* User: *dev*
* Password: *dev*
* Database: *shopware*

![Shopware demo data](docs/img/shopware_db.png)

### Install demo data
After the installation open the Shopware backend [http://localhost:8080/backend](http://localhost:8080/backend) and install the
demo data.

![Shopware demo data](docs/img/shopware_demo_data.png)

Open the demo shop website [http://localhost:8080](http://localhost:8080) and check out the Z-Ray Doctrine 2 plugin.