ruby-on-rails - 我可以将我的数据库保留在本地网络上,但将我的 rails 应用程序部署在托管服务上吗?
问题描述
我有一个当前托管在 Heroku 上的 rails 应用程序。它仅在我们的本地网络上使用,我的老板不希望第三方托管我们的数据。我说服 IT 为我设置了一个虚拟 Windows 服务器来部署我的应用程序。但是,要进行生产设置非常困难。
无论如何,我可以为我的应用程序使用托管服务,但数据库是否驻留在我们的本地网络上?
或者有没有更简单的方法在 Windows 服务器上部署 Rails 应用程序?我一直在研究使用适用于 Windows 的 Linux 子系统。
解决方案
If your app is used on your local network only, why not ditch Heroku and host your Rails app locally as well? What benefit is a scalable cloud hosting provider giving you? Especially since it seems your boss has security concerns about remote hosting of a database. Bringing the entire thing in house may be the best solution.
推荐阅读
- javascript - 如何仅在特定链接上运行 background.js?
- nuget - 如何在 SharpDevelop 中使用 Nuget?
- ios - 如何将单元格中单击的按钮上的数据传递到另一个表格视图?
- javascript - 如何在 MVC C# 项目中使用单独的 Javascript 文件在 Ajax 调用中正确使用 url
- intellij-idea - 如何从文本文件中删除所有空格
- html - 如何根据父类激活嵌套类?
- windows - WMI CommandLineTemplate 变量切断
- angular - Angular:未捕获的错误:组件 BucketGridComponent 不是任何 NgModule 的一部分,或者该模块尚未导入您的模块
- ruby-on-rails - HighCharts 工具提示点格式不更新标签
- python - 如何使用熊猫中其他列的 .size() 值创建一个新列?