Step 1: change directory to where your app lives (in your example above /Users/myusername/myappname) Step 2: from a console, type "cake bake" Step 3: follow the prompts ...
On Jan 5, 1:15 pm, gemmes <variouspix...@googlemail.com> wrote: > Hi, > > I ran: > > cake bake > > I entered my path to appname and proceeded along with no problems > until I tried to do: > > cake bake model > > this caused the following error: > > Error: Model directory could not be found. > Be sure you have created /Users/myusername/models/ > myusername:~ myusername$ > > When i try cake bake model again console creates a new app called > model, not what i want. > > I believe my errors are stemming from my paths being incorrect in > someway and im certain that my app and path should not be my Mac OS X > username, they should be the name of my app. > So I can then run multiple apps. > > Everytime Im asked to compare paths I see this: > Skel Directory: /Users/myusername/Sites/_cake/cake/console/libs/ > templates/skel > Will be copied to: /Users/myusername/myappname > > The will be copied to line is always wrong and when i tried cake bake > model the line was wrong too. my Sites directory is always missing > from my path and I dunno why. > > Pls help. > > gemmes --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---