-
另外问下怎么编译打包 发布在国内服务器上 |
Beta Was this translation helpful? Give feedback.
Answered by
imsyy
Sep 6, 2023
Replies: 4 comments 2 replies
-
只要服务器有 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
imsyy
-
我是直接用的pm2 运行的,宝塔面板 上传整个目录 然后执行 pm2 start好像
nljie1183 ***@***.***> 于2024年1月9日周二 22:39写道:
… 运行目录是主目录吗,启动命令是pnpm start吗
image.png (view on web)
<https://github.com/imsyy/DailyHotApi/assets/59471244/c7b609f2-8468-490b-93d2-7ba019b09a7a>
—
Reply to this email directly, view it on GitHub
<#19 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFBQCI5D2AGQ3G4WVXFV34TYNVJBPAVCNFSM6AAAAABBTGOTL2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DANRXGQ3DA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
@china-LY @nljie1183 宝塔建议使用 Docker 部署 |
Beta Was this translation helpful? Give feedback.
0 replies
-
docker只是方便些,node部署可以自己随时修改代码
底层用户 ***@***.***> 于2024年1月11日周四 11:49写道:
… @china-LY <https://github.com/china-LY> @nljie1183
<https://github.com/nljie1183> 宝塔建议使用 Docker 部署
—
Reply to this email directly, view it on GitHub
<#19 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFBQCI5S6R6KDFAH25XX7VTYN5OL3AVCNFSM6AAAAABBTGOTL2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DAOBZG42DQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
只要服务器有
node
环境就行,npm install
安装依赖,npm start
运行,然后使用Supervisord
或者其他方式进行进程守护就行 ( 宝塔可以一键部署 )