Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Convert Match to DBAL for schema management (CO-1711)
Benn Oshrin committed Feb 17, 2019
1 parent 708acf6 commit dd06c07
Showing 2,109 changed files with 106,069 additions and 27,501 deletions.
51 changes: 51 additions & 0 deletions app/README.md
@@ -0,0 +1,51 @@
# CakePHP Application Skeleton

[![Build Status](https://img.shields.io/travis/cakephp/app/master.svg?style=flat-square)](https://travis-ci.org/cakephp/app)
[![License](https://img.shields.io/packagist/l/cakephp/app.svg?style=flat-square)](https://packagist.org/packages/cakephp/app)

A skeleton for creating applications with [CakePHP](https://cakephp.org) 3.x.

The framework source code can be found here: [cakephp/cakephp](https://github.com/cakephp/cakephp).

## Installation

1. Download [Composer](https://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
```

In case you want to use a custom app dir name (e.g. `/myapp/`):

```bash
composer create-project --prefer-dist cakephp/app myapp
```

You can now either use your machine's webserver to view the default home page, or start
up the built-in webserver with:

```bash
bin/cake server -p 8765
```

Then visit `http://localhost:8765` to see the welcome 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/) (v5) CSS
framework by default. You can, however, replace it with any other library or
custom styles.
1 change: 1 addition & 0 deletions app/composer.json
@@ -10,6 +10,7 @@
"cakephp/cakephp": "3.6.*",
"cakephp/migrations": "^1.0",
"cakephp/plugin-installer": "^1.0",
"doctrine/dbal": "^2.9",
"josegonzalez/dotenv": "2.*",
"mobiledetect/mobiledetectlib": "2.*"
},
233 changes: 232 additions & 1 deletion app/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 0 additions & 44 deletions app/config/routes.php
@@ -98,47 +98,3 @@
* As of Cake v3.6 it is no longer necessary to call this
* Plugin::routes();
*/


/* XXX clean up this before commit
// check getParams
// Create a route that only responds to GET requests.
$routes->get(
'/cooks/:id',
['controller' => 'Users', 'action' => 'view'],
'users:view'
);
// Create a route that only responds to PUT requests
$routes->put(
'/cooks/:id',
['controller' => 'Users', 'action' => 'update'],
'users:update'
);
$routes->connect(
'/:controller/:id',
['action' => 'view']
)->setPatterns(['id' => '[0-9]+']);
$routes->connect(
'/cooks/:action/*', ['controller' => 'Users']
);
Router::connect(
'/voot/groups/:memberid/:groupid',
array('controller' => 'voot', 'action' => 'groups')
);
Router::connect(
'/voot/groups/:memberid',
array('controller' => 'voot', 'action' => 'groups')
);
Router::connect(
'/voot/people/:memberid/:groupid',
array('controller' => 'voot', 'action' => 'people')
);
*/

0 comments on commit dd06c07

Please sign in to comment.