kangqf/kblog_with_yii2
最新稳定版本:V1.0
Composer 安装命令:
composer create-project kangqf/kblog_with_yii2
包简介
Not just A Blog Based On Yii 2 Advanced Application Template
README 文档
README
Not Just A Blog Based On Yii 2 Advanced Application Template
REQUIREMENTS
The minimum requirement by this application template that your Web server supports PHP 5.4.0.
INSTALLATION
Install from an Archive File
Extract the archive file downloaded from Release to
a directory named kBlog_with_yii2 that is directly under the Web root.Please Install The Old Version Only
By This Way.
Then follow the instructions given in "GETTING STARTED".
Install via Composer
If you do not have Composer, you may install it by following the instructions at getcomposer.org.
You can then install the application using the following command:
php composer.phar global require "fxp/composer-asset-plugin:1.0.0"
php composer.phar create-project --prefer-dist --stability=dev kangqf/kblog_with_yii2 kblog
GETTING STARTED
After you install the application, you have to conduct the following steps to initialize the installed application. You only need to do these once for all.
- Run command
initto initialize the application with a specific environment. - Create a new database and adjust the
components['db']configuration incommon/config/main-local.phpaccordingly. - Apply migrations with console command
yii migrate. This will create tables needed for the application to work. - Set document roots of your Web server:
- for frontend
/path/to/yii-application/frontend/web/and using the URLhttp://frontend/ - for backend
/path/to/yii-application/backend/web/and using the URLhttp://backend/ - for backend
/path/to/yii-application/api/web/and using the URLhttp://api/
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-01-29