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

请问怎么打包部署哈 #3

Open
OYCodeSite opened this issue Sep 17, 2021 · 1 comment
Open

请问怎么打包部署哈 #3

OYCodeSite opened this issue Sep 17, 2021 · 1 comment

Comments

@OYCodeSite
Copy link

自己的项目刚好需要这个接口,需要打包部署一下

@OYCodeSite OYCodeSite changed the title 请问自己打包部署哈 请问怎么打包部署哈 Sep 17, 2021
@QiuYaohong
Copy link
Owner

QiuYaohong commented Sep 17, 2021

部署到服务器可以参考 egg.js 官方文档
https://eggjs.org/zh-cn/core/deployment.html
不需要打包,直接代码复制到服务器上去, 在服务器上装依赖就可以跑起来
可以使用 pm2 进行托管

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

2 participants