简体   繁体   English

构建服务器以在本地托管Rails应用

[英]Building a server to host rails app locally

I want to know how to build a rails server and host an app on it locally. 我想知道如何构建Rails服务器并在本地托管应用程序。 I know I can use heroku or aws but in the case of this app I can't, the database should be hosted locally in the company for security reasons; 我知道我可以使用heroku或aws,但在无法使用此应用程序的情况下,出于安全原因,数据库应托管在公司内部。 they do not want to store their data on servers that are not theirs. 他们不想将其数据存储在非其服务器上。

  • How do I start? 我该如何开始?
  • What are the main things to consider? 需要考虑的主要事项是什么?
  • Do I host on heroku and link the local database to the site or do I host them all in the same place? 我是在heroku上托管并将本地数据库链接到站点,还是将它们全部托管在同一位置?
  • How much power does the machine need for around 10-20k users? 大约10-20k用户的机器需要多少功率?
  • What OS should I use Ubuntu or what? 我应该使用什么操作系统或Ubuntu?

Would really appreciate if you have any tutorials or article links. 如果您有任何教程或文章链接,将不胜感激。

You can just use ngrok . 您可以只使用ngrok It doesn't require any side server deployments. 它不需要任何辅助服务器部署。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM