How to use cake bake on Ubuntu ~ Charle's programming how tos blog
Charle's programming how tos blog: How to use cake bake on Ubuntu

Monday, April 27, 2009

How to use cake bake on Ubuntu

This follows a previous article "How to install cakePHP on Ubuntu".

Assuming you've read the above article and your environment is all setup why don't we start baking right way.

Assuming you serve your pages from /home/username/public_html, at your terminal type:
cake bake public_html/appname
You'll need to answer a few questions...

Come with me to the bakery...

If you want to create models type:
cake bake -app /home/username/public_html/appname model

How to create controllers? easy and similar to the above line
cake bake -app /home/username/public_html/appname controller

Sure views are created differently, well no.
cake bake -app /home/username/public_html/appname view

No comments: