在VPS服务器上部署Libre-frice Word to-pdf转换器
如果我使用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于
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 runnpm install
to install all your dependencies on your vps or with heroku.