reliv/rcm
最新稳定版本:1.84.1
Composer 安装命令:
composer require reliv/rcm
包简介
Reliv Content Management System
README 文档
README
If you don't already have the ZF2 skeleton app, download it from github
git clone https://github.com/zendframework/ZendSkeletonApplication.git
Add these entries to the "require" section inside "path-to-zf2-project-root/composer.json"
"require": { "rcm/core" : "dev-master" }
Tell Composer to download the required packages
php /path-to-zf2-project-root/composer.phar update
Run this to set the correct permissions for folders that Apache/PHP must be able to write to
mkdir /path-to-zf2-project-root/data mkdir /path-to-zf2-project-root/data/DoctrineORMModule mkdir /path-to-zf2-project-root/data/DoctrineORMModule/Proxy chmod 777 /path-to-zf2-project-root/data -R mkkdir /path-to-zf2-project-root/public/modules chmod 777 /path-to-zf2-project-root/public/modules
Add Rcm's modules and module paths in "path-to-zf2-project-root/config/application.config.php"
<?php return array( 'modules' => array( //Rcm Dependencies 'DoctrineModule', 'DoctrineORMModule', //RCM core and plugins 'Rcm', 'RcmInstanceConfig', 'RcmHtmlArea', 'RcmNavigation', 'RcmCallToActionBox', 'RcmPortalAnnouncementBox', 'RcmLogin', 'RcmSocialButtons', 'RcmRssFeed', 'RcmRotatingImage', //MUST BE AT BOTTOM OF DEFINITION 'ElFinder', ), 'module_listener_options' => array( 'config_glob_paths' => array( 'config/autoload/{,*.}{global,local}.php', ), 'module_paths' => array( './module', './vendor', './vendor/reliv', './vendor/reliv/RcmPlugins', ), ), );
Add this to "path-to-zf2-project-root/config/autoload/local.php"
<?php return array( 'doctrine' => array( 'connection' => array( 'orm_default' => array( 'driverClass' => 'Doctrine\DBAL\Driver\PDOMySql\Driver', 'params' => array( 'host' => 'localhost', 'port' => '3306', 'user' => 'DATABASE-USERNAME', 'password' => 'DATABASE-PASSWORD', 'dbname' => 'DATABASE-DBNAME', ) ) ), ), 'encryption' => array( 'cypher' => array( 'algo' => 'aes', 'key' => 'CHANGE THIS ENCRYPTION KEY!' ) ), );
To avoid issues with Doctrine, make sure "date.timezone" is set in your php.ini.
date.timezone="America/Chicago"
Navigate to this URL in a browser to run the installer. This loads data into your database and creates symlinks that allow zf2 modules to contain routable public asset folders.
http://localhost/rcm/install
Login with these credentials:
Email: admin@admin.com Password: admin
统计信息
- 总下载量: 2.41k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: ISC
- 更新时间: 2015-04-23