jdmaymeow / app
CodeAdvent 2016 skeleton app for CakePHP
Installs: 31
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=5.5.9
- cakephp/cakephp: 3.3.*
- cakephp/migrations: ~1.0
- cakephp/plugin-installer: *
- jdmaymeow/cake-bootstrap: 1.*
- mobiledetect/mobiledetectlib: 2.*
Requires (Dev)
- cakephp/bake: ~1.1
- cakephp/debug_kit: ~3.2
- psy/psysh: @stable
Suggests
- cakephp/cakephp-codesniffer: Allows to check the code against the coding standards used in CakePHP.
- markstory/asset_compress: An asset compression plugin which provides file concatenation and a flexible filter system for preprocessing and minification.
- phpunit/phpunit: Allows automated tests to be run without system-wide install.
README
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
- Download Composer or update
composer self-update
. - 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