- Published on
How to create a new CakePHP application using FriendsOfCake app-template
This will create a new CakePHP application using the awesome FriendsOfCake app-template.
Make sure you have:
- Installed Composer (see "How to install Composer on Debian")
- Created an empty Github repository (we'll call it Debby)
Install app-template
cd [path-to-repos]
sudo apt-get install php5-mcrypt
git clone https://github.com/FriendsOfCake/app-template.git friendsofcake/app-template
Generate app
composer -sdev create-project friendsofcake/app-template debby
Save app
cd debby
git init
git add .
git add tmp/ -f
git commit -m "Initial FriendsOfCake app-template"
git remote add origin git@github.com:<gh-username>/debby.git
git push -u origin master