File tree 1 file changed +15
-6
lines changed
1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change 105
105
106
106
4. ** 数据初始化**
107
107
` ` ` bash
108
+
109
+ # 安装依赖包
110
+ pip install pymysql
111
+
112
+ # Mac or Linux 用户执行
113
+
108
114
cd docker
109
115
./init.sh
110
116
111
- 或执行
117
+ # Windows 用户执行
118
+
119
+ cd common
120
+ python initialize_mysql.py
121
+
112
122
113
- cd docker
114
- python3 ../common/initialize_mysql.py
115
123
116
124
5. ** 访问服务**
117
125
- 前端服务:http://localhost:8081
148
156
4. ** 初始化数据库**
149
157
- 如果使用本地环境mysql,初始化数据时需修改源码initialize_mysql,修改数据库连接信息即可
150
158
` ` ` bash
159
+ # Mac or Linux 用户执行
151
160
cd docker
152
161
./init.sh
153
162
154
- 或执行
163
+ # Windows 用户执行
155
164
156
- cd docker
157
- python3 ../common/ initialize_mysql.py
165
+ cd common
166
+ python initialize_mysql.py
158
167
159
168
5. ** 前端依赖安装**
160
169
- 前端是基于开源项目[可参考chatgpt-vue3-light-mvp安装](https://github.com/pdsuwwz/chatgpt-vue3-light-mvp)二开
You can’t perform that action at this time.
0 commit comments