摘要: 使用国内源 全局 win + R 输入 %APPDATA% 回车 新建 pip/pip.ini 写入如下内容 [global] index-url=https://pypi.tuna.tsinghua.edu.cn/simple [install] trusted-host=pypi.tuna.ts 阅读全文
posted @ 2022-11-08 21:29 vx_guanchaoguo0 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 构建镜像 dockerfile 点击查看代码 # 现在我们需要配置一些东西。 # 编译参数,用于指定 Swoole 版本 ARG swoole_ver # 保存到环境变量,如果没有传递就给默认值 ENV SWOOLE_VER=${swoole_ver:-"v4.5.0"} # apk 是 alpin 阅读全文
posted @ 2022-11-08 20:59 vx_guanchaoguo0 阅读(63) 评论(0) 推荐(0) 编辑
摘要: version: "3" services: pgsql: container_name: pgsql image: postgres:latest privileged: true environment: POSTGRES_PASSWORD: password POSTGRES_USER: po 阅读全文
posted @ 2022-11-08 20:54 vx_guanchaoguo0 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 使用ide 上传文件 代替postman 上传文件 环境文件 http-client.private.env.json { "dev": { "host": "http://localhost:15731/api/v1/", "jwt": "" } } 新建文件 .http后缀结尾即可 ### 上传 阅读全文
posted @ 2022-11-08 16:37 vx_guanchaoguo0 阅读(18) 评论(0) 推荐(0) 编辑
摘要: #### 背景 * pycharm + win10 环境开发 很多时候 需要编译 一些c++ 拓展 例如 bcrypt==3.1.4 * win 安装一堆的 Microsoft Visual C++ 14.0 is required #### 内置服务 ``` set -eux && sed -i 阅读全文
posted @ 2022-11-08 10:12 vx_guanchaoguo0 阅读(23) 评论(0) 推荐(0) 编辑