炜博,基于 Yii2 的博客系统,是我在学习 yii2设计**的一次应用。
自动部署测试站:https://dev.ubadbad.cc/blog/v-dev
2017.06.08 21:13 已经完成了,基本站点框架的搭建。在后台系统已经可以支持博客版块的发布和编辑情况,
已经架设了评论系统
2017.06.13 21:26 修负了blog展示页面的BUG, 包含时间的展示问题更正服务器的时区等。
2017.10.11 22:40 部署自动化测试站
assets/ contains assets definition
config/ contains application configurations
controllers/ contains web controller classes
models/ contains common model classes
runtime/ contains files generated during runtime
static/ contains static resource files
vendor/ contains dependent 3rd-party packages
views/ contains view files for the web application
web/ contains the entry script and web resources
The minimum requirement by this project template that your Web server supports PHP 5.4.0.
请在工作环境安装好 composer 并克隆仓库至本地环境。
composer global require "fxp/composer-asset-plugin:*"
composer install
composer update
You can then access the application through the following URL:
http://localhost/yiiForBlog/
新建一个用于测试的文件在web目录下
<?php return !file_exists($_SERVER['SCRIPT_FILENAME']) && require __DIR__ . '/debug.php';
快速测试
php -S localhost:9999 -t web web/test.php