Created
May 30, 2014 10:36
-
-
Save veganista/b581e04e2dd4a5e2c45d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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