A virtual machine to quickly start developing gourmet CakePHP 3 applications.
- Ubunty (Trusty)
- Apache2 (expires, headers, php, rewrite, ssl)
- MySQL & MongoDB & Redis
- PHP 5.5 (cli, curl, intl, mcrypt, mysql, xdebug)
- RabbitMQ
- Elastic Search
- PHPCS, PHPMD, PHPCPD, PHPDCD, PHPLOC, PHPUNIT
- VirtualBox
- Vagrant >= 1.3
git clone --depth 1 https://github.com/gourmet/box
composer create-project -s dev gourmet/platform box/app
cd box; rm -rf .git; vagrant up
echo 192.168.13.37 app.vm >> /etc/hosts
This will:
- Clone this repository
- Create a
Gourmet/Platform
project to use on the VM - Start the box for the first time
- Point
app.vm
to the VM
Property | Default Value |
---|---|
IP address | 192.168.13.37 |
Hostname | app.vm |
SSH users | root, vagrant |
Timezone | UTC |
For more details, or to change anything, check puphpet/config.yaml
.
NOTE: An SSH key is automatically created at
puphpet/files/dot/ssh/id_rsa
.
Connect to the VM:
vagrant ssh
or:
ssh -i puphpet/files/dot/ssh/id_rsa [email protected]
ssh -i puphpet/files/dot/ssh/id_rsa [email protected]
Re-configure the VM:
$EDITOR puphpet/config.yaml
vagrant provision
Get familiar with the tools used:
All gourmet packages use semantic versioning:
Given a version number MAJOR.MINOR.PATCH, increment the:
- MAJOR version when you make incompatible API changes,
- MINOR version when you add functionality in a backwards-compatible manner, and
- PATCH version when you make backwards-compatible bug fixes.
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.
Copyright (c) 2014, Jad Bitar and licensed under The MIT License.