Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

209 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

订餐系统

一、使用方法

1.将项目解压之后放到本地web根目录

2.打开浏览器,访问:http://localhost/dinner/yii/requirements/

这步目的主要是检测本地环境达不到要求,由于该系统是用yii框架写的,yii内置一个检测环境的文件

3.导入sql文件

sql文件的位置在webroot/dinner/protected/data/dinner.sql

4.配置config

打开webroot/dinner/protected/config/main.php 配置自己数据库名称、用户名、密码

5.修改目录权限

由于有些目录会动态的写文件,例如assets、runtime目录,所以为了简便,直接将dinner/目录权限修改成777

6.完成以上的步骤,就可以访问了

前台的地址:http://localhost/dinner/index.php
后台的地址:http://localhost/dinner/index.php?r=user
后台的默认用户名与密码:admin  admin

7.注意

1.如果安装好之后出现PHP notice错误,建议修改php.ini里面的error_reporting = E_ALL & ~E_NOTICE
2.导入菜单的时候,文件里面的格式类似下面这样,每行顶格写,一行一个菜,菜名与价格中间用#分隔
  牛肉粉丝#28.0
  宫保鸡丁#12.0
  鱼香肉丝#16.0

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages