File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 105105
1061064. ** 数据初始化**
107107 ` ` ` bash
108+
109+ # 安装依赖包
110+ pip install pymysql
111+
112+ # Mac or Linux 用户执行
113+
108114 cd docker
109115 ./init.sh
110116
111- 或执行
117+ # Windows 用户执行
118+
119+ cd common
120+ python initialize_mysql.py
121+
112122
113- cd docker
114- python3 ../common/initialize_mysql.py
115123
1161245. ** 访问服务**
117125 - 前端服务:http://localhost:8081
1481564. ** 初始化数据库**
149157 - 如果使用本地环境mysql,初始化数据时需修改源码initialize_mysql,修改数据库连接信息即可
150158 ` ` ` bash
159+ # Mac or Linux 用户执行
151160 cd docker
152161 ./init.sh
153162
154- 或执行
163+ # Windows 用户执行
155164
156- cd docker
157- python3 ../common/ initialize_mysql.py
165+ cd common
166+ python initialize_mysql.py
158167
1591685. ** 前端依赖安装**
160169 - 前端是基于开源项目[可参考chatgpt-vue3-light-mvp安装](https://github.com/pdsuwwz/chatgpt-vue3-light-mvp)二开
You can’t perform that action at this time.
0 commit comments