From 035c86dffbc8b80c432ccff3a38a88b65e0b7cb8 Mon Sep 17 00:00:00 2001 From: taoshihan Date: Thu, 24 Jul 2025 09:53:55 +0800 Subject: [PATCH] help --- readme.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/readme.md b/readme.md index 57f4a04..8aa1b5c 100644 --- a/readme.md +++ b/readme.md @@ -14,7 +14,7 @@ An open-source customer service system developed in Golang - Install and run MySQL (version ≥ 5.5). - Create a database: ```sql - CREATE DATABASE gofly CHARSET utf8mb4; + CREATE DATABASE goflychat CHARSET utf8mb4; * Configure Database Connection Edit mysql.json in the config directory: @@ -44,30 +44,30 @@ go env -w GOPROXY=https://goproxy.cn,direct Clone the repository in any directory: ```php -git clone https://github.com/taoshihan1991/go-fly.git -cd gofly +git clone https://github.com/taoshihan1991/goflylivechat.git +cd goflylivechat ``` * Initialize the Database ```php - go run go-fly.go install + go run gofly.go install ``` * Run the Application ```php - go run go-fly.go server + go run gofly.go server ``` * ​​Build executable ```php - go build -o kefu + go build -o gochat ``` * ​​Run binary​​: ```php - Linux: ./kefu server (optional flags: -p 8082 -d) + Linux: ./gochat server (optional flags: -p 8082 -d) - Windows: kefu.exe server (optional flags: -p 8082 -d) + Windows: gochat.exe server (optional flags: -p 8082 -d) ``` * Terminate the Process ```php - killall kefu + killall gochat ``` Once running, the service listens on port 8081. Access via http://[your-ip]:8081. @@ -76,7 +76,7 @@ For domain access, configure a reverse proxy to port 8081 to hide the port numbe ### Customer Service Integration Chat Link -http://127.0.0.1:8081/chatIndex?kefu_id=agent +http://127.0.0.1:8081/livechat?kefu_id=agent Popup Integration