GoLiveChat:Open-Source Live Chat Software for Website

Hello everyone, let's take a look at our open‑source live‑chat customer‑service system.

www.golivechat.cn

This folder holds all the source code for our whole project. First off, we need to set up our database connection. We're using MySQL for this project.

Head over to the config directory, and locate mysql.json.

Inside this file you'll see several fields: server, port, database, username and password. These are your MySQL database connection settings.

Next, open up your terminal. Execute the command go run main.go install. Here, install is our command‑line argument.

Once this command finishes running, it will import all the SQL statements into the MySQL database you've created in advance.

After the database import completes successfully, run go run main.go server.

Now our service is fully started. Open your browser and go to 127.0.0.1:8081.

You should now see our official website homepage load up.

Click the login button.

The default username is admin, and the default password is 123.

And just like that, we're logged into the backend admin panel.

From the admin panel, click the chat link. You can send messages and interact as a site visitor.

Meanwhile, support agents can view and reply to visitor messages right here in the backend.

That covers the full deployment and basic usage of our open‑source online customer‑service chat system.

相关推荐
Thanks_ks44 分钟前
Python 的垃圾回收——引用计数撑起日常,分代回收收拾残局
python·内存管理·垃圾回收·循环引用·引用计数·gc 模块·weakref
CyrusYiVPP1 小时前
实测 uv 0.13.7:同一套包,pip 装 94 秒,它只用 19 秒
人工智能·python
yiangL_1 小时前
Python 学习笔记:递归、turtle绘图、字符串与函数
笔记·python·学习
lula8883 小时前
PVC-U、PVC-C、PVC-O 差一个字母,差的是三种增强路线
python
数字工作台4 小时前
给 LangGraph 加一道可审计记忆:替换默认 Checkpointer,实现防篡改 + 崩溃不丢数据
python·agent
DKPT4 小时前
Python 的 Web 框架:选型选错的人,都踩了同一个坑
python
2401_868534785 小时前
逻辑网络设计
网络·python
2601_967979125 小时前
python如何组织文件?python文件操作全介绍!
python·文件操作·压缩文件·遍历文件夹·shutil模块
青少儿编程课堂5 小时前
蓝桥杯·全国青少年信息素养大赛·电子学会Python/C++考级:扫描线与线段树求矩形面积并解析
c++·python·算法·bfs·信息学竞赛
羲云网络5 小时前
GPT Image 2.6 商品图交付:用文件指纹排查错图、覆盖与版本串线
图像处理·人工智能·python·技术教程·文件校验