Skip to content

Latest commit

 

History

History
70 lines (50 loc) · 1.84 KB

README.md

File metadata and controls

70 lines (50 loc) · 1.84 KB

eZ Publish Virtual Machine

This is a sample setup of Vagrant that uses puppet to provision a virtual machine running eZ Publish.

It's a quick and easy way to check out the latest community versions of eZ Publish without the hassle of seting up a specific environment.

Requirements

On your local machine install:

Assumes that you have ruby, ssh & git installed on you system.

Getting started

The following steps will setup a VM for development. The setup process will take some time as there are some large (~400 M) downloads. This will only happen the first time this process is run.

1 Checkout the environment

Checks out server config (puppet) and VM config (vagrant).

Run the following commands:

git clone git@github.com:brucem/vagrant-puppet-ezpublish.git
cd vagrant-puppet-ezpublish
git submodule init
git submodule update

2 Start VM and provision

Starts up the VM and setups up the server. Some steps will take some time as they are downloading & installing packages etc.

vagrant up

3 Visit site

Point you browser at http://33.33.33.10/

You'll be presented with the eZPublish configuration wizard. A kickstart.ini has been created with the required values so the setup will proceed with minimal user input.

The admin interface will be found at http://33.33.33.10/ezflow_site_admin Login: admin Password: publish

4 SSH into the VM

To ssh into the VM run the following command:

vagrant ssh

eZ Publish can be found in the directory /var/www/ezdemo.localhost/htdocs/

5 Halt VM

The following command will stop the VM:

vagrant halt

It can be restarted by running:

vagrant up