i.e. :
./cake bake -app /Users/myusername/Sites/ mynewapp
Which generates this as the next step:
Welcome to CakePHP v1.2.0.7962 Console
---------------------------------------------------------------
App : Sites
Path: /Users/myusername/Sites
---------------------------------------------------------------
Bake Project
Skel Directory: /Applications/xampp/xamppfiles/lib/php/cake/console/
libs/templates/skel
Will be copied to: /Users/myusername/Sites/mynewapp
---------------------------------------------------------------
Look okay? (y/n/q)
[y] >
On Jan 4, 3:59 am, gemmes <variouspix...@googlemail.com> wrote:
> Hi All,
>
> Im trying to bake some apps from the console.
> Can someone please help me solve the problems Im having?
>
> I ran this in Mac OS X Terminal: cake bake mynewapp
>
> Errors:
> 1. App: myusername Wrong too. believe it should show mynewapp not
> myusername, same for path
> 2. Will be copied to: /Users/myusername/mynewapp This is wrong should
> be copied to /Users/myusername/Sites/mynewapp
> 3. Error: /Users/myusername/config/ not found I dont know why I
> receive this error
> 4. Localhost says: Your database configuration file is NOT present.
> Rename config/database.php.default to config/database.php I bake
> console should handle this, not going to handcode the file.
>
> The output(selected):
>
> Welcome to CakePHP v1.2.0.7962 Console
> App : myusername // I believe this should be
> mynewapp not OS myusername
> Path: /Users/myusername // same here
>
> Bake Project
> Skel Directory: /Users/myusername/Sites/_cake/cake/console/libs/
> templates/skel
> Will be copied to: /Users/myusername/mynewapp
>
> Look okay? (y/n/q)
> [y] > n
> What is the full path for this app including the app directory name?
> Example: /Users/myusername/mynewapp/myapp
> [/Users/myusername/mynewapp/myapp] > /Users/myusername/Sites/mynewapp
> Bake Project
> Skel Directory: /Users/sg/Sites/_cake/cake/console/libs/templates/skel
> Will be copied to: /Users/myusername/Sites/mynewapp
> ---------------------------------------------------------------
> Look okay? (y/n/q)
> [y] > y
>
> Creating file /Users/myusername/Sites/invoicr/views/pages/home.ctp
> Wrote /Users/myusername/Sites/invoicr/views/pages/home.ctp
> Welcome page created
> Random hash key created for 'Security.salt'
> CAKE_CORE_INCLUDE_PATH set to /Users/myusername/Sites/_cake in webroot/
> index.php
> CAKE_CORE_INCLUDE_PATH set to /Users/myusername/Sites/_cake in webroot/
> test.php
> Remember to check these value after moving to production server
>
> Your database configuration was not found. Take a moment to create
> one.
> ---------------------------------------------------------------
> The following database configuration will be created:
> ---------------------------------------------------------------
> Name: default
> Driver: mysql
> Persistent: false
> Host: localhost
> User: mynewapp
> Pass: *******
> Database: mynewapp
> ---------------------------------------------------------------
> Look okay? (y/n)
> [y] > y
> Do you wish to add another database configuration?
> [n] >
> Error: /Users/myusername/config/ not found // I dont know why I
> receive this error?
> sg:~ sg$
>
> 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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment