Category Covered

CakePHP bake Command

 Cakephp bake setup on windows. Follow the image for setting up the environment variable for cake bake.


Environment variable path setup on cakephp bake is very important


My pc Environment variable is like that so be careful about it. You will be needed to set the bold path for the baking.


Dont use any space after or before comma(,)


%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;D:\wamp\www\attend\lib\Cake\Console;D:\wamp\bin\php\php5.2.8;C:\Program Files\TortoiseSVN\bin




Make sure you have configure the database on “D:\wamp\www\attend\app\config\database.php”


I have a project running on “D:\wamp\www\attend\app”
so go to the start menu and run the command prompt.


go to the location on there using cd D:\wamp\www\attend\app


then write “cake bake all” and press enter and follow the image for better understanding.



Thats it for cake bake setup for cakephp



Cakephp baking on windows

Cakephp baking on linux


Next Step: CakePHP association or relationship between models