Rud5G / chef-zf2

Chef Cookbook for a Zend Framework 2 project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZF2 cookbook


Build Status Version Status

Requirements

Install chef-dk from the downloads page on the Chef-DK github page

Install latest Vagrant from the Vagrant downloads page

Install the Vagrant plugins: Berkshelf, Omnibus, Hostmanager

$ vagrant plugin install vagrant-berkshelf
$ vagrant plugin install vagrant-omnibus
$ vagrant plugin install vagrant-hostmanager

Usage

Set the required project (git), database, virtualhost & users in the databags

$ vagrant up
$ vagrant halt

Use in an other cookbook

Add this cookbook as a dependency to the metadata.rb in your cookbook. check the current version in the metadata.rb

depends 'zf2', '~> 0.12.13'

Standalone (testing)

Set the required users & config in the databags.

$ kitchen create
$ kitchen converge
$ kitchen destroy

Known Issues

If the samba user setup is not done correct in the first run, to fix:

$ vagrant ssh
$ sudo su
$ smbpasswd -x developer
$ exit # (2x)
$ vagrant provision

Author

Author:: Triple-networks (r.gravestein@triple-networks.com)

About

Chef Cookbook for a Zend Framework 2 project

License:Apache License 2.0


Languages

Language:Ruby 95.6%Language:HTML 4.3%Language:Shell 0.2%