awallef / threecake
There is no license information available for the latest version (dev-master) of this package.
a cakephp start point to use with composer and more
dev-master
2013-04-02 16:11 UTC
Requires
- php: >=5.2
- awallef/trois: dev-master
- cakephp/cakephp: *
This package is auto-updated.
Last update: 2024-12-16 21:02:10 UTC
README
a cakephp start point to use with with Composer. inspired by Eatcake
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
toapp/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:
Gruntfile.js
and package.json
.
Open your terminal and from inside your app:
Run npm install && bower install
to install all dependencies your app needs
Run grunt
to compile your scss and js.
Run grunt prod
to compile your scss and js for production.
Run grunt watch
to compile your files as you save.
Updating
Update all you need later with: php composer.phar update
from inside your project directory.
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...