在VPS服务器上部署Libre-frice Word to-pdf转换器

发布于 2025-01-25 08:24:45 字数 166 浏览 2 评论 0原文

如果我使用libreoffice-convert构建字到pdf转换器,则在我的计算机上可以很好地工作,因为我在Windows机器上安装了Libreoffice。但是,如果我在VPS服务器上部署它,那么它将与本地计算机一样工作,还是必须在VPS服务器上手动安装Libreoffice?还是没有Heroku的其他解决方案?

If I build a Word-to-pdf converter using libreoffice-convert, it works perfectly fine on my computer as libreoffice is installed on my windows machine. But if I deploy it on vps server then will it work as same as my local computer or do I have to install libreoffice manually on vps server? Or any other solution without heroku?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

江南烟雨〆相思醉 2025-02-01 08:24:45

由于libreoffice-convert是一个NPM软件包,因此您需要做的只是运行npm install即可在VPS或Heroku上安装所有依赖关系。

as libreoffice-convert is an npm package that comes with your codebase then all you need to do is just to run npm install to install all your dependencies on your vps or with heroku.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文