2017 © Pedro Peláez
 

library threecake

a cakephp start point to use with composer and more

image

awallef/threecake

a cakephp start point to use with composer and more

  • Tuesday, April 2, 2013
  • by awallef
  • Repository
  • 1 Watchers
  • 0 Stars
  • 27 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Three Cake

3xw, (*1)

a cakephp start point to use with with Composer. inspired by Eatcake, (*2)

Manual Install

  • Install Composer with: curl -s https://getcomposer.org/installer | php
  • Then create a new project with: php composer.phar create-project awallef/threecake path/ -s"dev"

Install the familly

  • avoid using sudo each time: sudo chown -R $USER /usr/local ( UNIX )
  • Install nodejs
  • Install ruby/gem
  • Install compass: gem install compass
  • Install grunt npm install -g grunt-cli
  • Install bower: npm install bower -g

Configure cake PHP

  • Change the value of 'Security.salt' in app/Config/core.php
  • Change the value of 'Security.cipherSeed' in app/Config/core.php
  • Rename app/Config/database.php.default to app/Config/database.php
  • Replace your DB connection values in app/Config/database.php
  • Create the basic tables Trois plugin needs .path/app/Console/cake schema create

Usage

Edit those two file as you need to:, (*3)

Gruntfile.js and package.json., (*4)

Open your terminal and from inside your app:, (*5)

Run npm install && bower install to install all dependencies your app needs, (*6)

Run grunt to compile your scss and js., (*7)

Run grunt prod to compile your scss and js for production., (*8)

Run grunt watch to compile your files as you save., (*9)

Updating

Update all you need later with: php composer.phar update from inside your project directory., (*10)

What?

Threecake loads & installs 3 packages: * cakephp/cakephp the cakePHP framework * awallef/trois an admin and mediafile plugin for cakePHP * awallef/moderncake a modern start point for cakePHP using tools such as compass, grunt, twitter/bootstrap etc..., (*11)

The Versions

02/04 2013

dev-master

9999999-dev

a cakephp start point to use with composer and more

  Sources   Download

The Requires