- Only tested on macOs 10.14+.
- Only tested for CakePHP 3.x so far.
- Requires php, composer etc. installed via brew
- Requires Docker for Mac, Visual Studio Code for Mac
Warning: Running bin/create again will wipe your project. Use an external git repo to make it save.
- Clone Repo
- From this repos root run
$ bin/create
to create the initial cakephp project - Enable .env and app_local.php support in application/http/config/bootstrap.php
- Disable debugkit in
src/Application.php
as it is crashing the docker setup at the moment
- From this repos root run
$ bin/up
to boot the box - From this repos root run
$ bin/down
to shutdown the box - From this repos root Run
$ bin/cli
then inside the docker cli$ bin/cake
to operate with the cake console inside the docker box - Open https://docker-cake.local:3001 and confirm the https exception for the CakePHP app.
- Open http://docker-cake.local:8026 for the Mailhog app.