A generator for Yeoman.
This Generator will install CakePHP, do some initial configuration (much like bake
would do) and implement some "best practices" we use at the office.
Most notably you will have multiple Config files. One per environment.
These environmental config files can be found in app/Config/Environment/
and are loaded depending on your APPLICATION_ENV
variable.
-
Make sure you have yo installed:
npm install -g yo
-
Install the generator:
npm install -g generator-cakephp
-
Run:
yo cakephp
-
Set the following Environment Variable:
SetEnv APPLICATION_ENV development
You can set this where you want. Your .htaccess, httpd.conf or within your vhost.