# cms-tutorial **Repository Path**: mirrors_CakeDC/cms-tutorial ## Basic Information - **Project Name**: cms-tutorial - **Description**: The completed CMS tutorial for CakePHP - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-03-02 - **Last Updated**: 2026-03-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CakePHP CMS Tutorial The completed CMS tutorial application created during https://book.cakephp.org/5/en/tutorials-and-examples/cms/installation.html ## Installation 1. Download [Composer](https://getcomposer.org/doc/00-intro.md) or update `composer self-update`. 2. Download this source code. `git clone https://github.com/cakephp/cms-tutorial.git` 3. Install dependencies with composer ```bash cd cms-tutorial composer install ``` ## Configuration You can use the default configuration, using a sqlite3 file based database. In that case, no configuration is required. If you want to use your own database, update the `'Datasources'` configuration in `config/app.php`. You'll also need to create a database and run the SQL located in the tutorial. * Update the `'Datasources'` configuration by: * editing `config/app.php` or `config/app_local.php` for your local database or * edit `config/bootstrap.php` to enable use of a `.env` file (uncomment the section that loads the `.env` file) (and provide the `config/.env` file. * Create a database if needed. * Run `bin/cake migrations migrate` to create the database tables. ## Running the project ```bash bin/cake server ``` Then point your browser to http://localhost:8765 You will be redirected to the `/users/login` page. This is the behavior we configured to request a valid username and password. The CMS Tutorial user Authentication and Authorization to identify the users.