[Ruby / PostgreSQL]: How to host my first Ruby website?

I am new to Ruby. I am developing a web application and plan to use Ruby for coding. This project is for training, but I want to post it live to see how it works. I plan to use PostgreSQL as a back-end.

I want to know how to host a Ruby website. What hosting providers provide support? And I also want to know if I should start with PostgreSQL or MySQL.

+3
source share
3 answers

A good option for hosting Ruby web applications is Heroku . You can use the Rails, Ramaze, Sinatra, or Camping framework. For a small application, it's free, but you can also purchase large hosting packages. Their system uses Postgres by default, but if you use MySQL or Sqlite on your development machine, Heroku automatically imports it and converts it to Postgres when you click on it. Clicking the application in Heroku is also easy, you just need to have a git repository and use the rubigem to click.

+4
source

My suggestion: use VPS

-, , . , , Ruby RoR, : Engine Yard. . , , .

, , Spring, JRuby, - , -LAMP? (, , LAMP + Ruby?) , VPS , , ssh, , , .. ..

, , - Google App Engine., . Active Record , Bigtable , , , RR.

0

If it is a website, what framework do you use and which server do you plan to use with it.

Many hosting services provide support for Ruby on Rails DreamHost, Rails Playground, Godaddy, etc.

You can also upgrade to VPS, Slicehost is great for this.

0
source

Source: https://habr.com/ru/post/1721543/


All Articles