All Projects → cheikh-wang → LazyWaimai-Web

cheikh-wang / LazyWaimai-Web

Licence: other
懒人外卖的 Web 端,使用Yii2框架+Bootstrap进行开发

Programming Languages

PLpgSQL
1095 projects
PHP
23972 projects - #3 most used programming language
Batchfile
5799 projects

Projects that are alternatives of or similar to LazyWaimai-Web

yii2-composer
Yii 2 composer extension
Stars: ✭ 76 (+137.5%)
Mutual labels:  composer, yii
Hookphp
HookPHP基于C扩展搭建内置AI编程的架构系统-支持微服务部署|热插拔业务组件-集成业务模型|权限模型|UI组件库|多模板|多平台|多域名|多终端|多语言-含常驻内存|前后分离|API平台|LUA QQ群:679116380
Stars: ✭ 575 (+1696.88%)
Mutual labels:  composer, yii
email
Aplus Framework Email Library
Stars: ✭ 127 (+296.88%)
Mutual labels:  composer
wordpress-composer
Composer template for WordPress projects.
Stars: ✭ 63 (+96.88%)
Mutual labels:  composer
docker-laravel-8
A simple Docker - Laravel 8 - MySQL - Redis - PHPAdmin - NGINX - PHP 7.4 - Composer - Artisan - XDebug
Stars: ✭ 130 (+306.25%)
Mutual labels:  composer
yii2-presenter
Yii2 View Presenter
Stars: ✭ 13 (-59.37%)
Mutual labels:  yii
yboard
http://yboard.sdelaemsite.com/
Stars: ✭ 56 (+75%)
Mutual labels:  yii
fatfree-composer-app
F3 demo package with composer integration
Stars: ✭ 15 (-53.12%)
Mutual labels:  composer
composer-diff
Compares composer.lock changes and generates Markdown report so you can use it in PR description.
Stars: ✭ 51 (+59.38%)
Mutual labels:  composer
php-finder refactoring-kata
🐘🔍Incomprehensible Finder Refactoring Kata port for PHP
Stars: ✭ 22 (-31.25%)
Mutual labels:  composer
ar-variation
Variation behavior for ActiveRecord
Stars: ✭ 46 (+43.75%)
Mutual labels:  yii
Ip
🌏根据IpV4、IpV6地址获取定位信息的PHP🐘组件 PHP components that obtain location information based on IpV4, IpV6 addresses
Stars: ✭ 23 (-28.12%)
Mutual labels:  yii
yiipowered
Yii powered websites showcase
Stars: ✭ 88 (+175%)
Mutual labels:  yii
ip
Immutable value object for IPv4 and IPv6 addresses, including helper methods and Doctrine support.
Stars: ✭ 212 (+562.5%)
Mutual labels:  composer
what-changed
Generate change reports when you update composer
Stars: ✭ 110 (+243.75%)
Mutual labels:  composer
private-packagist-api-client
Private Packagist API Client
Stars: ✭ 28 (-12.5%)
Mutual labels:  composer
devstack
🐳 Dockette dockerized web devstack (@f3l1x)
Stars: ✭ 42 (+31.25%)
Mutual labels:  composer
composer-velocita
Velocita - Composer plugin for transparent caching
Stars: ✭ 26 (-18.75%)
Mutual labels:  composer
devliver
Your private self hosted composer repository with user management
Stars: ✭ 50 (+56.25%)
Mutual labels:  composer
framework
Cygnite PHP Framework- A Modern Toolkit For Web Developers
Stars: ✭ 43 (+34.38%)
Mutual labels:  composer

LazyWaimai-Web

此项目是懒人外卖(本人用来练手的项目,类似于百度外卖,美团外卖和饿了么的系统)的商家端,为Android客户端提供商铺管理服务,基于 Yii2 框架实现的。

环境条件

  • PHP版本必须大于或等于php5.4

安装

1.clone到本地

git clone -b develop https://github.com/cheikh-wang/LazyWaimai-Web.git

2.配置数据库

  1. 将sql文件导入到数据库中

  2. 配置数据库

cd LazyWaimai-Web
vi config/web.php  // 将数据库密码修改成你本机的数据库密码

3.安装依赖

本项目使用composer管理依赖,所以需要先安装composer(已安装请跳过)

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

还需要安装composer-asset-plugin(已安装请跳过)

composer global require "fxp/composer-asset-plugin:^1.3.1"

安装项目所需依赖(开始之前请确保composer和composer-asset-plugin已成功安装)

composer install

5.配置服务器

配置nginx/apache的webroot指向LazyWaimai-Web/web

6.完毕

安装完毕,打开你的服务器访问地址:http://localhost:端口号, 默认的管理员账号,用户名:admin,密码:123456

其他配置

1.短信服务的配置

本项目的短信服务是使用的云之讯,请自行注册账户并按如下方式配置:

编辑config/web.php

'ucpass' => [
	'class' => 'app\components\Ucpaas',
    'accountSid' => '修改为你的云之讯Account Sid',
    'token' => '修改为你的云之讯Auth Token',
    'appId' => '修改为你的云之讯应用ID',
    'templateId' => '修改为你的云之讯短信模板ID',
],

2.七牛云的配置

本项目的图片上传服务是使用的七牛,请自行注册账户并按如下方式配置:
'qiniu' => [
	'class' => 'app\components\QiNiu',
	'accessKey' => '修改为你的AccessKey',
	'secretKey' => '修改为你的SecretKey',
	'bucket' => '修改为你的空间名',
	'domain' => '修改为你的域名',
],
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].