Skip to content

Instantly share code, notes, and snippets.

@veganista
Created May 30, 2014 10:36
Show Gist options
  • Save veganista/b581e04e2dd4a5e2c45d to your computer and use it in GitHub Desktop.
Save veganista/b581e04e2dd4a5e2c45d to your computer and use it in GitHub Desktop.
Open a folder in termninal as a workspace then run....
$ mkdir app
$ cd app
$ touch composer.json
Add this to composer.json
{
"name": "example-app",
"repositories": [
{
"type": "pear",
"url": "http://pear.cakephp.org"
}
],
"require": {
"cakephp/cakephp": ">=2.4.9"
},
"config": {
"vendor-dir": "Vendor/"
}
}
Then run:
$ composer install
$ ./Vendor/bin/cake bake project .
Try and view the site it won't work, if you change the folder name from "app" to "site" it should start working
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment