My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
SettingUpCakePHPEnv  
Updated Jul 10, 2009 by james.sa...@gmail.com
  • Install XAMPP
  • Install eclipse (Galileo)

Put it under c:\programs Add *.ctp to content type in Windows -> Preferences -> Content Types -> PHP content types add *.ctp with utf8 as default encoding.

  • Install CakePHP plugins, eclipse/dropins/opencakefile/eclipse/plugins
To verify, start eclipse -> Preferences -> Open Cake File.
  • Switch workspace
C:\xampp\htdocs or C:\programs\xampp\htdocs
  • Copy cake source to htdocs
C:\xampp\htdocs\cake
  • set up bake
run -> external tools -> name: bake, location: C:\xampp\php\php.exe, workspace: ${workspace_loc:/cake/cake/console} Arguments: cake.php now you should see
Welcome to CakePHP v1.2.3.8166 Console
 Current Paths:
  -app: app
  -working: C:/xampp/htdocs/cake/app
  -root: C:/xampp/htdocs/cake
  -core: C:\xampp\htdocs\cake
 ...

Arguments: cake.php bake -working C:/xampp/htdocs/cake/hello hello -app .

Welcome to CakePHP v1.2.3.8166 Console
 

App : . Path: C:/xampp/htdocs/cake/hello/. Bake Project Skel Directory: C:\xampp\htdocs\cake\cake\console\libs\templates\skel Will be copied to: C:/xampp/htdocs/cake/hello/./hello Look okay? (y/n/q) [y] >


Sign in to add a comment
Powered by Google Project Hosting