You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
root cd8d374ccd init 11 months ago
app init 11 months ago
backup init 11 months ago
config init 11 months ago
crmeb init 11 months ago
public init 11 months ago
route init 11 months ago
runtime init 11 months ago
vendor init 11 months ago
.constant init 11 months ago
.env init 11 months ago
.htaccess init 11 months ago
.phpstorm.meta.php init 11 months ago
.travis.yml init 11 months ago
.version init 11 months ago
LICENSE.txt init 11 months ago
README.md init 11 months ago
build.example.php init 11 months ago
composer.json init 11 months ago
composer.lock init 11 months ago
filetree.txt init 11 months ago
index.html init 11 months ago
think init 11 months ago
workerman.bat init 11 months ago

README.md

CRMEB v5 后端程序目录

运行环境要求PHP7.1-7.4。

安装

一键安装

上传你的代码,站点入口目录设置/public 在浏览器中输入你的域名或IP例如www.yourdomain.com, 安装程序会自动执行安装。期间系统会提醒你输入数据库信息以完成安装安装完成后建议删除install目录。

后台访问地址: 1.域名/admin 公众号和H5首页访问地址 1.域名/

安装过程中请牢记您的账号密码!

重新安装

  1. 清除数据库
  2. 删除/public/install.lock 文件

手动安装

1.创建数据库,倒入数据库文件 数据库文件目录/public/install/crmeb.sql 2.修改数据库连接文件 配置文件路径/.env

APP_DEBUG = true

[APP]
DEFAULT_TIMEZONE = Asia/Shanghai

[DATABASE]
TYPE = mysql
HOSTNAME = 127.0.0.1 #数据库连接地址
HOSTPORT = 3306 #数据库端口
DATABASE = test #数据库名称
USERNAME = username #数据库登录账号
PASSWORD = password #数据库登录密码
PREFIX = eb_
CHARSET = utf8mb4
DEBUG = true

[LANG]
default_lang = zh-cn

[CACHE]
DRIVER = file #缓存类型redis/file
CACHE_PREFIX = cache_xxxx: #缓存前缀
CACHE_TAG_PREFIX = cache_tag_xxxx: #缓存类型前缀

[REDIS]
REDIS_HOSTNAME = 127.0.0.1 #redis链接地址
PORT = 6379 #端口号
REDIS_PASSWORD = 123456 #密码
SELECT = 0 #数据库

[QUEUE]
QUEUE_NAME = xxxx #队列前缀

3.修改目录权限linux系统777 /crmeb /template

4.后台登录: http://域名/admin 默认账号admin 密码crmeb.com

消息队列

php think queue:listen --queue

定时任务

在自动收货,库存预警等功能使用到

php think timer [ status ] [ --d ]

参数

  • status: 状态
    • start: 启动
    • stop: 关闭
    • restart: 重启
  • --d : 后台执行

长连接服务

在h5聊天,后台管理员消息通知等功能使用到

php think workerman [ status ]  [ --d ]

windows环境下需要分三步执行

# 内部通讯服务
php think workerman start --d

参数

  • status: 状态
    • start: 启动
    • stop: 关闭
    • restart: 重启
  • --d : 后台执行

文档

使用手册 TP6开发手册

参与开发

请参阅 CRMEB

版权信息

本项目包含的第三方源码和二进制文件之版权信息另行标注。

版权所有Copyright © 2017-2023 by CRMEB (http://www.crmeb.com)

All rights reserved。

CRMEB® 商标和著作权所有者为西安众邦网络科技有限公司。