Skip to content

Commit 0097663

Browse files
committed
Update README
1 parent 3a906e6 commit 0097663

1 file changed

Lines changed: 8 additions & 40 deletions

File tree

‎README.md‎

Lines changed: 8 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,19 @@
1-
# CakePHP Application Skeleton
1+
# CakePHP CMS Tutorial
22

3-
[![Build Status](https://img.shields.io/travis/cakephp/app/master.svg?style=flat-square)](https://travis-ci.org/cakephp/app)
4-
[![License](https://img.shields.io/packagist/l/cakephp/app.svg?style=flat-square)](https://packagist.org/packages/cakephp/app)
5-
6-
A skeleton for creating applications with [CakePHP](https://cakephp.org) 3.x.
7-
8-
The framework source code can be found here: [cakephp/cakephp](https://github.com/cakephp/cakephp).
3+
The completed CMS tutorial application created during
4+
https://book.cakephp.org/3.0/en/tutorials-and-examples/cms/installation.html
95

106
## Installation
117

128
1. Download [Composer](https://getcomposer.org/doc/00-intro.md) or update `composer self-update`.
13-
2. Run `php composer.phar create-project --prefer-dist cakephp/app [app_name]`.
14-
15-
If Composer is installed globally, run
16-
17-
```bash
18-
composer create-project --prefer-dist cakephp/app
19-
```
20-
21-
In case you want to use a custom app dir name (e.g. `/myapp/`):
22-
23-
```bash
24-
composer create-project --prefer-dist cakephp/app myapp
25-
```
26-
27-
You can now either use your machine's webserver to view the default home page, or start
28-
up the built-in webserver with:
9+
2. Download this source code.
10+
3. Install dependencies with composer
2911

3012
```bash
31-
bin/cake server -p 8765
13+
composer install
3214
```
3315

34-
Then visit `http://localhost:8765` to see the welcome page.
35-
36-
## Update
37-
38-
Since this skeleton is a starting point for your application and various files
39-
would have been modified as per your needs, there isn't a way to provide
40-
automated upgrades, so you have to do any updates manually.
41-
4216
## Configuration
4317

44-
Read and edit `config/app.php` and setup the `'Datasources'` and any other
45-
configuration relevant for your application.
46-
47-
## Layout
48-
49-
The app skeleton uses a subset of [Foundation](http://foundation.zurb.com/) CSS
50-
framework by default. You can, however, replace it with any other library or
51-
custom styles.
18+
Copy `config/app.default.php` to `config/app.php` and setup the `'Datasources'` configuration.
19+
You'll also need to create a database and run the SQL located in the tutorial.

0 commit comments

Comments
 (0)