-
Notifications
You must be signed in to change notification settings - Fork 9
Setup
NOTE: It's assumed you already installed and familiarized yourself with the CakePHP console. Learning git helps too.
You can install BakingPlate either using git or manual download, but using git is always preferred.
- Add BakingPlate as a Root Plugin* to your cake installation directory.
git clone git://github.com/ProLoser/BakingPlate.git plugins/baking_plate
This should result in the following directory structure within you cake installation directory
- Run
cake plate
at command prompt which will show a list of BakingPlate Shells these commands are used to finalize the installation of BakingPlate.
- Run
cake plate bake [PROJECT_PATH]
Where PROJECT_PATH is an absolute or relative path to the new cake app. Follow the instructions of the bake process.
- Add BakingPlate as a Root Plugin* to your cake installation directory.
git clone git://github.com/ProLoser/BakingPlate.git Plugin/BakingPlate
- Add the plugin in your Config/bootstrap.php
CakePlugin::loadAll();
// OR //
CakePlugin::load('BakingPlate');
-
Run
cake BakingPlate.plate
at command prompt which will show a list of BakingPlate Shells these commands are used to finalize the installation of BakingPlate. -
Run
cake BakingPlate.plate bake [PROJECT_PATH]
Where PROJECT_PATH is an absolute or relative path to the new cake app. Follow the instructions of the bake process.
This approach is very tedious. It is encouraged that you learn Git instead
-
Download the latest version of BakingPlate and extract the contents of the archive into the folder
plugins/baking_plate
(Cake1.3) orPlugin/BakingPlate
(Cake2.x) -
Add the plugin in your Config/bootstrap.php
CakePlugin::loadAll();
// OR //
CakePlugin::load('BakingPlate');
- Download the plugins and modules required and add them to their respective directories under
plugins
(Cake1.3) /Plugin
(Cake2.x) orvendors
(Cake1.3) /Vendor
(Cake2.x).
Due to changes with Cake2.x running console commands from a plugin requires fairly lengthy commands. With a bit of extra setup you can run BakingPlate with a shorter command, eg plate [add|browse|bake|search]
In ~/.bash_rc
or ~/.profile
add an alias for plate such as alias plate="cake BakingPlate.plate"