Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于部署问题二三事(成功部署) #2775

Open
kangwuyi opened this issue Mar 12, 2025 · 0 comments
Open

关于部署问题二三事(成功部署) #2775

kangwuyi opened this issue Mar 12, 2025 · 0 comments

Comments

@kangwuyi
Copy link

kangwuyi commented Mar 12, 2025

部署的时候情绪非常“激动”,各种问题跑不起来,从下午4点至凌晨1点消耗了大约一整个晚上,差点摔电脑。

遂,此路不通转换思路。大致分为 5 步骤:

  1. docker pull archlinux
  2. 进入 archlinux 镜像(开 9090 端口),安装 python-3.10.*、nodejs-10.*.*,另部署 mongo-7.0.1
  3. 参照 yapi 官网安装(最新版本 yapi)步骤逐步执行,直至安装结束。退出临时镜像容器,打包容器为镜像命名为 yapi-tmp:v0.0.1
  4. 运行 yapi-tmp:v0.0.1 镜像(开 3000 端口)
  5. 不到一个小时结束,运行正常,关灯睡觉。

解决问题,思路很重要。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant