project yii
The Webmis Project
webmiss/yii
The Webmis Project
- Saturday, July 21, 2018
- by webmiss
- Repository
- 0 Watchers
- 1 Stars
- 0 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
WebMIS
WebMIS基于YII2轻量级、高性能、面向对象的HMVC框架!
Home: http://yii.webmis.vip/
Admin: http://yii.webmis.vip/admin/index
uanme: admin passwd: admin, (*1)
安装
1) 创建项目
``` bash
composer create-project webmiss/yii yii, (*2)
### 2) 导入数据库
``` bash
public/db/mvc.sql
3) 更新项目
composer update
美化URL
1) Apache(public/.htaccess)
# 编码
AddDefaultCharset UTF-8
<IfModule mod_rewrite.c>
# 重写
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?r=/$1 [QSA,L]
</IfModule>
2) Nginx
listen 80;
server_name yii.webmis.cn;
set $root_path '/home/www/yii/public/';
root $root_path;
index index.php index.html;
try_files $uri $uri/ @rewrite;
location @rewrite {
rewrite ^/(.*)$ /index.php?r=/$1;
}
location ~* ^/(webmis|upload|themes|favicon.png)/(.+)$ {
root $root_path;
}
Url
Home: http://localhost/
Admin: http://localhost/admin/index/index
dev-master
9999999-dev
The Webmis Project
Sources
Download
MIT
The Requires
by
webmis
v1.0.0
1.0.0.0
The Webmis Project
Sources
Download
MIT
The Requires
by
webmis