King IM CLoud
kim 是一个高性能分布式即时通信系统。
同时,也是《分布式IM原理与实战: 从0到1打造即时通讯云》
一书的实战项目。你可以点击下图,观看详细介绍。
- Web SDK: Typescript SDK
- Flutter SDK: Flutter SDK
- 由@szhua小友提供
-
安装docker
-
安装docker-compose
-
启动环境
- docker-compose -f "docker-compose.yml" up -d --build
-
进入Mysql,修改访问权限:
- docker exec -it kim_mysql /bin/sh
- mysql -uroot -p123456
- GRANT ALL ON . TO 'root'@'%';
- flush privileges;
-
创建数据库
- create database kim_base default character set utf8mb4 collate utf8mb4_unicode_ci;
- create database kim_message default character set utf8mb4 collate utf8mb4_unicode_ci;
-
docker部署服务kim单节点服务
- docker-compose -f "docker-compose-kim.yml" up -d --build