boleiros / ninja-cms
NinjaCMS
dev-master
2017-06-19 11:54 UTC
Requires
- php: >=5.6
- cakephp/cakephp: 3.4.*
- cakephp/migrations: ~1.0
- cakephp/plugin-installer: *
- maiconpinto/cakephp-adminlte-theme: dev-master
- 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.
This package is not auto-updated.
Last update: 2024-09-27 19:00:03 UTC
README
安装
您可以使用 composer 将此插件安装到您的 CakePHP 应用程序中。
安装 composer 包的推荐方法是
composer require boleiros/kraken
配置
- 阅读并编辑
config/app.php
并设置 '数据源' 以及其他配置。 - 编辑位于
config/ninja_cms.php
的文件以设置您的设置。 - 您需要运行
bin/cake migrations seed
以执行所有种子操作,或者运行bin/cake migrations seed --seed UsersSeed
以执行特定的种子操作。
运行迁移
bin/cake migrations migrate
现在,您可以使用机器的 web 服务器查看默认主页,或者使用以下命令启动内置的 web 服务器:
bin/cake server -p 8765
然后访问 https://:8765
以查看欢迎页面。