Installing CakePHP: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 41: Line 41:


in the httpd.conf you should also change the document root to point to the "webroot" folder of your cake install. for a development environment, this makes things easier because you can change your document root to the webroot of whatever app you are working on and reset the uniform server. (that way you can also share the cake folder amongst many apps, which is even handier if you add virtual host directives for each project, as well as corresponding entries to your windows/system32/drivers/etc/hosts file.)
in the httpd.conf you should also change the document root to point to the "webroot" folder of your cake install. for a development environment, this makes things easier because you can change your document root to the webroot of whatever app you are working on and reset the uniform server. (that way you can also share the cake folder amongst many apps, which is even handier if you add virtual host directives for each project, as well as corresponding entries to your windows/system32/drivers/etc/hosts file.)
from here you unpack cake into your document root, (i don't think you even have to edit the app/webroot/index.php file), edit your database.config file, and start baking (open a command prompt inside cake/scripts/ and type: "w:\usr\local\php\php.exe bake.php -help" or just "php.exe bake.php -help" if you did the path setting step above).


i know this tutorial had a lot more beginner instructions on baking a basic app, but a lot has changed since then anyway and mostly i just wanted to repost this uniform-server-specific info. hope someone finds it useful.
i know this tutorial had a lot more beginner instructions on baking a basic app, but a lot has changed since then anyway and mostly i just wanted to repost this uniform-server-specific info. hope someone finds it useful.