如果你支持这个项目,请 Star and Fork Me。
注:有任何问题请在Issues提交,EleTeam会尽快回复。
EleTeam开源项目-电商全套解决方案之iOS版-ETShop-PHP-Yii2。一个类似京东/天猫/淘宝的商城,有对应的APP支持,由EleTeam团队维护!
php-5.6.x
mysql-server-5.6.x
httpd-2.x/nginx
该项目分为4个小项目,Apache需要创建4个虚拟主机,存放该项目的所有代码,虚拟主机的配置如下:
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "/Users/tony/Desktop/Develop/PHP-WWW/Shop-PHP-Yii2/backend/web"
ServerName local.eleteambackend.ygcr8.com
ErrorLog "logs/local.eleteambackend.ygcr8.com-error_log"
CustomLog "logs/local.eleteambackend.ygcr8.com-access_log" common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "/Users/tony/Desktop/Develop/PHP-WWW/Shop-PHP-Yii2/frontend/web"
ServerName local.eleteam.ygcr8.com
ServerAlias local.eleteam.ygcr8.com
ErrorLog "logs/local.eleteam.ygcr8.com-error_log"
CustomLog "logs/local.eleteam.ygcr8.com-access_log" common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "/Users/tony/Desktop/Develop/PHP-WWW/Shop-PHP-Yii2/data"
ServerName local.eleteamdata.ygcr8.com
ServerAlias local.eleteamdata.ygcr8.com
ErrorLog "logs/local.eleteamdata.ygcr8.com-error_log"
CustomLog "logs/local.eleteamdata.ygcr8.com-access_log" common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "/Users/tony/Desktop/Develop/PHP-WWW/Shop-PHP-Yii2/api/web"
ServerName local.eleteamapi.ygcr8.com
ServerAlias local.eleteamapi.ygcr8.com
ErrorLog "logs/local.eleteamapi.ygcr8.com-error_log"
CustomLog "logs/local.eleteamapi.ygcr8.com-access_log" common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "/Users/tony/Desktop/Develop/PHP-WWW/Shop-PHP-Yii2/wap/web"
ServerName local.eleteamwap.ygcr8.com
ServerAlias local.eleteamwap.ygcr8.com
ErrorLog "logs/local.eleteamwap.ygcr8.com-error_log"
CustomLog "logs/local.eleteamwap.ygcr8.com-access_log" common
</VirtualHost>
127.0.0.1 local.eleteam.ygcr8.com
127.0.0.1 local.eleteambackend.ygcr8.com
127.0.0.1 local.eleteamdata.ygcr8.com
127.0.0.1 local.eleteamapi.ygcr8.com
127.0.0.1 local.eleteamwap.ygcr8.com
以下文件夹要求读写权限:
chmod -R 777 frontend/runtime backend/runtime api/runtime console/runtime
chmod -R 777 frontend/web/assets backend/web/assets
文件存放在: /dbbaks/etshop_?.sql, 项目在紧急开发中,所以该文件会不断更新,如果你的项目出现问题了,请重新导入最新的sql文件。
前台: http://eleteam.ygcr8.com
wap: http://eleteamwap.ygcr8.com
api: http://eleteamapi.ygcr8.com/v1/product/view?id=3
数据: http://eleteamdata.ygcr8.com
gii: http://eleteam.ygcr8.com/gii
后台: http://eleteambackend.ygcr8.com
后台超级用户: admin/123456
后台普通用户: demo/123456
@copyright Copyright © 2015年 EleTeam. All rights reserved.
@license The MIT License (MIT)
此源码遵守 The MIT License (MIT),可用于商业上,但是因此带来的商业损失EleTeam团队不承担责任。