Your Web Guru

Category Archives: CakePHP

Uploading an existing project to Chaw using git

This is for users of thechaw.com. It is a project repository for CakePHP projects.
Change directory to your application’s working path. This will be inside of your “app” directory.
example:
cd /htdocs/app
Setup git locally.
git init
Add link to the remote repository.
git remote add upstream git@thechaw.com:projectname.git
Edit .gitignore to include the following:
tmp
tmp/*
config/database.php
*Note for Mac users, it is advantageous to also add [...]

Generating CakePHP API for local use on OS X

1) Download the Mac disk image of Doxygen and install the application.
2) Download my Doxygen config file. Adapted from Ticket #5910.
3) Create a directory in your app/webroot/ named api.
4) Open Doxygen and open the config file.
5) Double check that Source code directory and Destination directory are correct for your setup.
6) Switch to the Run tab [...]