Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
CakePHP Kickstart Plugin for CakePHP 1.3+
PHP Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Config
Console
Test/Case
Vendor
KickstartAppController.php
KickstartAppModel.php
README.textile
kickstart.sh

README.textile

CakePHP Kickstart plugin

PHP 5.2+, CakePHP 2.0+

This plugin provides Kickstart shell command.

Copyright 2011, php-tips.com (http://php-tips.com)

Plugin Installation

git submodule add -f https://github.com/nojimage/CakePHP-Kickstart-Plugin plguins/kickstart

Usage

cake/console/cake kickstart <config1> <config2>

or

cake/console/cake kickstart run <config1> <config2>

or readonly config files

cake/console/cake kickstart read <config1> <config2>

if you want skip all questions.

cake/console/cake kickstart -y <config1> <config2>

Default kickstart script (kickstart.yml)

exec:
  - chmod -R o+w {$APP}/tmp/

get_simpletest:
  target: vendors

git_submodule:
    repo: -f http://github.com/cakephp/debug_kit.git
    target: plugins/debug_kit

bake: db_config
  • set writable APP/tmp
  • install SimpleTest
  • install DebugKit
  • call “bake db_config”

kickstart.sh

“kickstart.sh” is simple bash script. this script help the creation of the cakephp project.

kickstart.sh Installation

cp kickstart.sh {YOUR_WORKSPACE}

Usage

./kickstart.sh init someproject_name

or

./kickstart.sh cakeupdate someproject_name

LISENCE

Licensed under The MIT License. Redistributions of files must retain the above copyright notice.

Copyright 2011, php-tips.com (http://php-tips.com)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Something went wrong with that request. Please try again.