This package is abandoned and no longer maintained. No replacement package was suggested.

CodeAdvent 2016 skeleton app for CakePHP

v0.1.8 2017-02-02 21:58 UTC

This package is not auto-updated.

Last update: 2021-11-11 17:10:56 UTC


README

Baked With CakePHP License

A skeleton for creating applications with CakePHP 3.x.

The framework source code can be found here: cakephp/cakephp.

This is updated cakephp skeleton application to make easier setup process for ca plugins.

Installation

  1. Download Composer or update composer self-update.
  2. Run php composer.phar create-project --prefer-dist jdmaymeow/app [app_name].

If Composer is installed globally, run

composer create-project --prefer-dist jdmaymeow/app [app_name]

You should now be able to visit the path to where you installed the app and see the default home page.

Configuration

Read and edit config/app.php and setup the 'Datasources' and any other configuration relevant for your application.

Code Advent Configuration file

Code Advent (CA) plugins will use this file to read some configurations. You can edit this file at config/codeadvent.json.

Docker

docker create --name my-app --privileged -p 80 \
-e MYSQL_HOST=localhost \
-e MYSQL_USER=user \
-e MYSQL_PASS=pass \
-e MYSQL_DB_NAME=database \
-v /data:/var/www/html/webroot/data jdmaymeow/app