Yeah I definitely need to understand the Unix environment. But anyway, in my case I was able to add the path to ~/.bash_login and point it to my cake/console directory (v1.2).
On Jan 22, 3:33 pm, dylanc <[EMAIL PROTECTED]> wrote: > I've been working and learning the Unix environment for almost a year > now and I can offer some tips based on how I've learned. > > First, get some books on the Unix system. There are books that deal > with the Mac OS X unix base which will teach you a lot. > No need to spend money either. Your local library should have > something available. OR there are good FREE materials all over the > internet--too much to read in a lifetime. But you need to know the > basic commands and tools. Stay with it and you will be able to do > things way quicker and with much less effort. > > For your specific question: > > The .profile you asked about... You can edit your .bashrc file and > achieve the same results. This is like a personal preferences file. > The PATH directive tells your terminal/shell where to look for > programs and utilities. It saves you from having to type out the > absolute path every time. > > If you are new to the command line you might have a tough time with > the 'vi' (vim) editor the screencast used. And a tougher time with > 'emacs'. If you have no idea what I'm talking about that is fine. As a > vim user I cannot recommend highly enough that you type in 'vimtutor' > and go through the 30 minute hands-on tutorial on the vim editor--this > editor is on every unix/linux/bsd machine in the world. > > Leopard uses the BASH shell (Bourne Again SHell) by default. It is the > most common environment I've seen so far, learn it and you'll be good > 99% of the time. Learn the .bashrc directives. Google it. > > I've not messed with Cake very much but I happened to check this > thread today. > > Your other options are Ruby on Rails which is already set up in > Leopard. > Those are my tips. Your welcome. > > On Jan 22, 10:28 am, longint <[EMAIL PROTECTED]> wrote: > > > Make that two Leopard folks. I'll be watching this thread. > > > On Jan 22, 10:13 am, martinp <[EMAIL PROTECTED]> wrote:> There's what > > appears to be a very good screencast on the cakephp site > > > about how to configure Unix so that you can run Cake from the command > > > line. That is, until right at the beginning the author asks you to > > > edit the .profile file, or whatever your equivalent file is. At that > > > point I'm lost. I don't appear to have a .profile file as if I follow > > > his instructions I'm told I'm writing a new file. I'm new to Macs and > > > certainly new to using the command line. It also makes me a little bit > > > nervous poking around under the hood. > > > > So can anyone give me any pointers? I'm currently unable to run cake > > > or bake from the command line as it can't find the file (changing the > > > directory to cake/console doesn't appear to work either), but I don't > > > know how to change the relevant settings using Terminal. > > > > I appreciate that this isn't a Cake problem really, but I'd be > > > grateful for any help. Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
