-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
安装指引 | ||
|
||
用压缩文件安装: | ||
|
||
1、先安装Yii2 Basic应用模板,把目录名设为blog2。 | ||
2、把源码压缩包解压后的文件拷贝到blog2目录,覆盖原来的文件。 | ||
3、创建blog2数据库,把blog2.sql导入到数据库 | ||
4、打开db.php文件,设置好用户名和密码: | ||
'username' => 'root', //修改为你的数据库用户名 | ||
'password' => 'weixiblog', //修改为你的数据库密码 | ||
5、浏览器打开URL: | ||
http://你的IP/blog2/web/ | ||
|
||
———————————————————————————————————————————————————— | ||
从GitHub安装: | ||
|
||
1、克隆系统到你的WWW服务器目录。 | ||
3、创建blog2数据库,把blog2.sql导入到数据库。 | ||
4、打开db.php文件,设置好用户名和密码: | ||
'username' => 'root', //修改为你的数据库用户名 | ||
'password' => 'weixiblog', //修改为你的数据库密码 | ||
5、浏览器打开URL: | ||
http://你的IP/Yii2Blog/web/ |