You can get the screencast about how to setup console with cakephp 1.2 in http://cakephp.org, but for you who want to do it quick (downloading the screencast is taking time and bandwith, especially for me) read this quick information. Just text .. no picture
- go to cakephp.org , download the cake 1.2 (this is only works with cake 1.2, because 1.1.x doesnt have console, you can create your own console by creating batch (.bat/.sh) file)
- right click on the My Computer, click on Properties
- go to Advances tab , then click on the Environtment Variables button
- in the system variables, there is aPATH, click to edit.
- add this string
c:\xampp\php;c:\cake1.2\cake\console\. Notes. I install the php on my c:\xammp\php\ and I unzip the cake in c:\cake1.2\, so depend on your directory, change that lines. Finish. - To test it, open the command window. (type cmd on the run)
- type :
cake helpand it should show the help file - for creating a new project, type
cake bake project \www\mynewcakeproject - Done .
Advertisement
Note that the cake path needs to point to the cake console directory. ie: c:\cake1.2\cake\console
Thanks for the tutorial.
By: Marc on December 28, 2007
at 7:07 pm
hi, maybe u can help me…
this is what i did:
-unzip cake1.2 in c:\xampp\htdocs\cake1.2\
my pc properties ->enviroment variables -> in path: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Archivos de programa\Archivos comunes\Adobe\AGL;C:\Archivos de programa\QuickTime\QTSystem\;c:\xampp\php;C:\xampp\htdocs\cake1.2\cake\console\ .
then i go to cmd and type cake help n nothing happens
please help me out… thx btw
By: nightmare on April 28, 2008
at 1:51 pm
Thanks your guide helped, now I have Cake on my system!
By: Matthew J on May 6, 2008
at 2:46 pm