coolcsn/csn-cms

CMS based on DoctrineORMModule

dev-master 2014-01-20 18:03 UTC

This package is not auto-updated.

Last update: 2024-04-23 02:46:25 UTC


README

Zend Framework 2 Module

What is CsnCms?

CsnCms is a Content Management System module based on DoctrineORMModule, CsnUser authentication and CsnAuthorization.

What exactly does CsnCms do?

CsnCms has been created with educational purposes to demonstrate how CMS can be done. It is fully functional, working in perfect harmony with Doctrine and the other Csn modules.

Installation

  1. Installation via composer is supported, simply run (make sure you've set "minimum-stability": "dev" in your composer.json file): php composer.phar require coolcsn/csn-cms:dev-master

  2. Configure referenced modules (CsnUser and CsnAuthorization) following their instructions.

  3. Add 'CsnCms' to your application configuration in config/application.config.php. An example application configuration could look like the following:

'modules' => array(
    'Application',
    'DoctrineModule',
    'DoctrineORMModule',
    'CsnUser',
    'CsnAuthorization',
    'CsnCms'
)
  1. Run ./vendor/bin/doctrine-module orm:schema-tool:update to update the database schema (Note: You may need to force the update by adding --force to the command). Then import the sample data located in ./vendor/coolcsn/CsnCms/data/SampleData.sql. You can easily do that with PhpMyAdmin for instance.

We are done, uh?

Navigate to [hostname]/csn-cms. Enjoy :)

Dependencies

This Module depends on the following Modules:

  • DoctrineORMModule
  • CsnUser
  • CsnAuthorization

Recommends