33 lines
1.4 KiB
Markdown
33 lines
1.4 KiB
Markdown
# CakePHP Application Skeleton
|
|
|
|
[](https://travis-ci.org/cakephp/app)
|
|
[](https://packagist.org/packages/cakephp/app)
|
|
|
|
A skeleton for creating applications with [CakePHP](http://cakephp.org) 3.x.
|
|
|
|
The framework source code can be found here: [cakephp/cakephp](https://github.com/cakephp/cakephp).
|
|
|
|
## Installation
|
|
|
|
1. Download [Composer](http://getcomposer.org/doc/00-intro.md) or update `composer self-update`.
|
|
2. Run `php composer.phar create-project --prefer-dist cakephp/app [app_name]`.
|
|
|
|
If Composer is installed globally, run
|
|
```bash
|
|
composer create-project --prefer-dist cakephp/app [app_name]
|
|
```
|
|
|
|
You should now be able to visit the path to where you installed the app and see the default home page.
|
|
|
|
## Update
|
|
|
|
Since this skeleton is a starting point for your application and various files would have been modified as per your needs, there isn't a way to provide automated upgrades, so you have to do any updates manually.
|
|
|
|
## Configuration
|
|
|
|
Read and edit `config/app.php` and setup the `'Datasources'` and any other
|
|
configuration relevant for your application.
|
|
|
|
## Layout
|
|
The app skeleton uses a subset of [Foundation](http://foundation.zurb.com/) CSS framework by default. You can, however, replace it with any other library or custom styles.
|