记录部署wechat-chatgpt项目时遇到的点

编程知识 行业动态 更新时间:2024-06-13 00:19:39

wechat-chatgpt 地址 https://github/fuergaosi233/wechat-chatgpt
这是一个转发微信收到的消息到openai的chatgpt,然后转发其返回的消息的项目。

  1. poetry

    https://python-poetry/docs/#installing-with-the-official-installer
    用pip install protry -> ok

    使用Poetry时,在 pyproject.toml 文件末尾追加下面的内容来设置自定义镜像源:

    #设置poetry包管理工具的自定义pypi镜像源配置
    [[tool.poetry.source]]
    name = "aliyun"
    url = "http://mirrors.aliyun/pypi/simple"
    default = true
    
  2. wsl

    https://learn.microsoft/zh-cn/windows/wsl/install

    wsl 迁移至非系统盘
    wsl --import [源系统名] [tar地址]
    wsl --export [新系统名] [新系统地址] [tar地址]
    https://juejin/post/7024498662935904269
    https://wwwblogs/oboth-zl/p/12769220.html

  3. docker

    https://docs.docker/engine/install/

  4. docker: Cannot connect to the Docker daemon at
    unix:///var/run/docker.sock. Is the docker daemon running?.
    sudo service docker start

  5. run docker image

docker run -dp 3000:3000 getting-started
6 chatgpt-wechaty
docker restart wechat-chatgpt
docker logs -f wechat-chatgpt
npm run dev

更多推荐

记录部署wechat-chatgpt项目时遇到的点

本文发布于:2023-03-28 16:36:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/989009d2d9207086edd3f95b044213aa.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:项目   wechat   chatgpt

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!