Really useful software project management and source code hosting.    tell me more...
BROWSE: projects / users / groups
  GROUP


Really Useful Social coding!

Codaset is an open system, so you can browse and search through all the open source projects, and check out what your friends are coding. Follow them, befriend them, and fork their code; quickly and easily.
Every single open source project you create is free, so come on and use Codaset at no cost. Your first private or semi-private project is also free. Read more about what it costs after that.

Installation

  1. Simply place the following three files into the 'vendors' directory in your Cake root or your Cake app root:

    • migrate.php
    • fixtures.php
    • fixture_helpers.php
  2. You will need to ensure that Pear is installed on the machine that you are developing on, and that you have installed the MDB2 Pear package.

  3. If you haven't already done so, or have not used any of the Cake console shells, you will need to setup the Cake console on your machine. Please watch the realtive screencast for your OS at http://www.cakephp.org/screencasts

  4. Now just open up your console or terminal program and cd into your Cake app root.

  5. Now enter the following in your console: (don't type the $ sign)

    cake

This will list all the shells that are installed and ready to run. If you installed everything correctly, then 'migrate' and 'fixtures' will be listed.

  1. Type in this:

    cake migrate help

This will display the help and usage instructions.

  1. To generate your first migration file, run this:

    cake migrate generate my_first_migration

Then edit the file it generates, after which you can migrate:

`cake migrate`

Attachments

No attachments found




Browse our wiki...




« previous version |
created about 1 year ago by Joel Moss |
| next version »