mirror of
https://github.com/chatopera/cosin.git
synced 2025-07-28 12:32:15 +08:00
Updated 春松客服:开发环境 (markdown)
parent
6d43900178
commit
d90c9f67f7
19
春松客服:开发环境.md
19
春松客服:开发环境.md
@ -106,25 +106,18 @@ cd cosin
|
||||
docker-compose up -d mysql
|
||||
```
|
||||
|
||||
1. 连接MySQL服务
|
||||
在第一次执行这个命令时,mysql容器会自动创建```contactcenter```数据库并导入相关的表,因为该容器初始化时加载了```contact-center/config/sql/cskefu-MySQL-slim.sql```文件。
|
||||
|
||||
连接MySQL服务
|
||||
|
||||
<img src="https://user-images.githubusercontent.com/3538629/44975310-b74b8300-af94-11e8-846b-a36445a61516.png" width="500" />
|
||||
|
||||
使用```docker-compose```启动的服务
|
||||
|
||||
**ip** : localhost, **username** : root, **password** : 123456
|
||||
| IP | 用户名 | 密码 |
|
||||
| --- | --- | --- |
|
||||
| localhost | root | 123456 |
|
||||
|
||||
2. 创建contact-center数据库
|
||||
|
||||
<img src="https://user-images.githubusercontent.com/3538629/44975430-fd084b80-af94-11e8-8db8-2fc7bbc0a1c4.png" width="500" />
|
||||
|
||||
3. 导入数据
|
||||
|
||||
<img src="https://user-images.githubusercontent.com/3538629/44975484-288b3600-af95-11e8-9bf5-295f99862a07.png" width="500" />
|
||||
|
||||
选择文件 ```contact-center/config/sql/cskefu-MySQL-slim.sql```,然后点击“执行”。
|
||||
|
||||
<img src="https://user-images.githubusercontent.com/3538629/44982838-c4bf3800-afa9-11e8-8e84-77174c737c61.png" width="400" />
|
||||
|
||||
### Redis
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user