开发者

CakePHP: -bash: cake: command not found

开发者 https://www.devze.com 2023-01-22 04:55 出处:网络
I\'ve used CakePHP a few times before but this is the first time I\'m trying out Bake. On my Mac I\'m running CakePHP 1.3, PHP5.3.3, and MySQL. I\'ve created my database tables and the app connects to

I've used CakePHP a few times before but this is the first time I'm trying out Bake. On my Mac I'm running CakePHP 1.3, PHP5.3.3, and MySQL. I've created my database tables and the app connects to the database.

I navigate to the console folder. and type ./cake

I get welcome to the CakePHP v.1.3.5 Console. Then I gives me a list of shells to run. It says

To run a c开发者_开发技巧ommand, type 'cake shell_name [args]'

I type:

cake bake all

and get

-bash: cake: command not found

Can someone help me out here? I'm not sure if I've missed something.

Jonesy


I have no experience with CakePHP but try prepending ./

./cake bake all
0

精彩评论

暂无评论...
验证码 换一张
取 消