I have been developing in folders like "project_name" for years and I like it. I only need to keep and manage one Cake installation and it keeps my clutter of files to a minimum :)
The way I host that locally is with one virtual host for each project. I point the Apache root folder for each one to the equivalent of app/ webroot. That way I host locally in exactly the same way as a production installation. also set fake domain names in my computer's / etc/hosts file. I prefer project_name.site as no real site would be called that. I think you can get away with dumping it all into the same vhost the way you did now. If you create a few apps in named folders they should (hopefully) run if you access them using http://localhost/project_name/. Not sure though. On Sep 7, 5:38 pm, Kludge <jvanul...@gmail.com> wrote: > Thanks, that's really helpful. I now have CakePHP using MAMP MySQL and > PHP5. Another question... what is the usual workflow. Do I create a > copy of the Cake/app folder for my project (project_name)? Do I bake > in another directory or directly into my Cake/project_name folder? I > notice in the tutorial that it recommends to work directly in the app > folder but I will definitely have more than one project... any > guidance would be appreciated. > > Thank you in advance! > > On Sep 6, 11:32 pm, Martin Westin <martin.westin...@gmail.com> wrote: > > > > > A few points for installing Cake to run in Mamp. > > > Simplest way is to drop the whole Cake folder (containing > > cake,app,vendors...) into Mamp's htdocs folder. > > Should be: /Applications/MAMP/htdocs > > > That should have Cake running but you probably need / want the > > database too, right. You need to rename and edit the file app/config/ > > database.php. That file has to know how to reach Mamp's MySQL. You can > > see instructions in the Mamp control panel on the port/sockets, > > username, password and things. > > > Those are really the two common head-scratchers I know of. I can't > > help you with Eclipse but if you have some specific question about the > > Mamp-Cake thing let me know. > > > /Martin > > > On Sep 7, 4:59 am, FrederickD <manzanillo.engl...@gmail.com> wrote: > > > > Hey Kludge! > > > > Try going towww.widgetpress.comandcheckingout ModelBaker. It is a > > > Mac front-end to CakePHP so that you never have to use the CLI. The > > > product has a graphical representation of the database model you are > > > creating for the project. > > > > ModelBaker is not an end-all solution. It is designed to quickly get > > > you up and running with CakePHP code that you then tweak for the > > > unique business logic for your project. > > > > It has some limitations as it was just released at MacWorld in > > > January. Overall it promises to be a very strong product for Mac > > > development with CakePHP. There is a demo version available for you to > > > try out. > > > > I am not affiliated with WidgetPress at all. I do use ModelBaker > > > because I'm a Mac guy and don't care much for the Terminal and command > > > line interfaces anymore. Been there, did that, haven't done it for 25 > > > years now. > > > > Check it out! > > > > On Sep 6, 4:14 pm, Kludge <jvanul...@gmail.com> wrote: > > > > > Anyone have any idea on how to do this? I have MAMP and Eclipse > > > > installed correctly and have been doing PHP development for a while > > > > now and everything works fine. I now want to jump into CakePHP but > > > > can't wrap my head around setting it up. Any insight and or steps on > > > > getting there would be great. Thank you in advance! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---