Giter Site home page Giter Site logo

dinner's Introduction

订餐系统

一、使用方法

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

dinner's People

Contributors

zhoujiafei avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.