Skip to content

Files

Latest commit

 

History

History

Demo_Installation

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Demo Installation

This demo has ZendPHP and ZendHQ configured in a single Alpine Linux based container. You can use this container to practice using ZendHQ and the GUI

Demo Docker Setup

Copy the demo application:

cp -r /path/to/repo/Basic_Installation/mezzio/* \
      /path/to/repo/Demo_Installation/mezzio/*

Copy the ZendHQ license

cp /path/to/license ./docker/license

Build the image

docker-compose build

Bring the image online

docker-compose up -d

Shell into the container

docker run -it zendphp_demo /bin/bash

Build the demo app

cd /var/www/mezzio
php composer.phar self-update
php composer.phar update

Make sure zendhqd, php-fpm and nginx are all running:

ps

Access the demo from curl or from a browser:

  • http://10.10.80.10/
  • http://localhost:8080/ Make repetitve calls:
  • From the host computer (not in the container)
$ cd /path/to/repo/Demo_Installation
./make_calls.sh

Run the ZendHQ GUI