kangqf / kblog_with_yii2
Not just A Blog Based On Yii 2 Advanced Application Template
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 0
Type:project
Requires
- php: >=5.4.0
- kartik-v/yii2-builder: dev-master
- kartik-v/yii2-datecontrol: dev-master
- kartik-v/yii2-detail-view: dev-master
- kartik-v/yii2-grid: dev-master
- kartik-v/yii2-markdown: *
- kartik-v/yii2-nav-x: dev-master
- kartik-v/yii2-widgets: *
- kop/yii2-scroll-pager: dev-master
- mdmsoft/yii2-admin: *
- warrence/yii2-kartikgii: dev-master
- xj/yii2-ueditor-widget: *
- yiisoft/yii2: *
- yiisoft/yii2-authclient: *
- yiisoft/yii2-bootstrap: *
- yiisoft/yii2-imagine: *
- yiisoft/yii2-mongodb: *
- yiisoft/yii2-swiftmailer: *
Requires (Dev)
This package is not auto-updated.
Last update: 2024-12-17 17:05:49 UTC
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
init
to initialize the application with a specific environment. - Create a new database and adjust the
components['db']
configuration incommon/config/main-local.php
accordingly. - 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/