dev-master
9999999-deva cakephp start point to use with composer and more
The Requires
- php >=5.2
- cakephp/cakephp *
- awallef/trois dev-master
a cakephp start point to use with composer and more
a cakephp start point to use with with Composer. inspired by Eatcake, (*2)
curl -s https://getcomposer.org/installer | php
php composer.phar create-project awallef/threecake path/ -s"dev"
sudo chown -R $USER /usr/local
( UNIX )gem install compass
npm install -g grunt-cli
npm install bower -g
app/Config/core.php
app/Config/core.php
app/Config/database.php.default
to app/Config/database.php
app/Config/database.php
.path/app/Console/cake schema create
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)
Update all you need later with: php composer.phar update
from inside your project directory., (*10)
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)
a cakephp start point to use with composer and more