/cakephp-with-replication

CakePHP CMS Tutorial Implementation with RDB Replication Considerations

Primary LanguagePHP

CakePHP CMS Tutorial with RDB Replication Considerations

License: CC BY-NC-SA 4.0

An implementation of CakePHP CMS Tutorial which comes :

  • with RDB replication considerations
    • models connect to the master database by default, and to replicas if specified to do so.
  • with Docker settings for local development environment
  • without the authentication part

Requirements

Installation

  • Clone this repository
  • Open a terminal and move to the cloned directory, where you can see docker-compose.yml or some other files.
  • Execute the following commands
docker-compose build
docker-compose up -d
docker-compose exec web "/composer_install.sh"

Note : If you have some troubles on docker-compose build, try docker-compose build --no-cache instead.

Local Development Environment

License

Creative Commons BY-NC-SA 4.0

Please note that this repository depends on and contains the following works, under their licenses.

Version Information