On 21 Sep., 13:18, Euroooo <[EMAIL PROTECTED]> wrote:
> Hi guys!
>
> I'm new to cakePHP, but from what I've seen, I'm loving it. I like the
> ease of use that the conventions offer me, and just went through the
> blog tutorial. I now want to advance to the "Simple ACL" tutorial, but
> I can't get the CLI to work properly.
>
> PHP on the command line is no problem setting up, and using the cake
> console neither. I can bake projects, but the directories aren't
> correct.
>
> This is my directory structure;
> /app
> /cake
> ..
>
> Now, the console is obviously in the /cake directory. But I want it to
> Bake in the /app directory. When you first run the console, you get
> to choose where the app directory is located. I then specify /app, and
> it copies files to this directory as well. But when I want to Bake
> models, controllers and views, it puts them in /cake/console/myapp..
> Why is this? The working directory when inputting the 'cake bake'
> command, is /cake/console/myapp.
>
> How do I change this?
>
> yours,
You can cd into your app dir and then execute the cake command from
there or alternatively specify the working param:
cd /home/myself/workspace/my_app
/path/to/command/cake
or
/path/to/command/cake -working /home/me/workspace/my_app
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---