Hosting Ruby application with Sinatra

0

I'm starting my studies in Ruby with DSL Sinatra. For this I installed Node.js then ruby with Sinatra.

My applications locally are working normally. But I would like to make them available for web browsing. (so you can place the call anywhere).

Would anyone have a first step manual? Is this kind of application possible to leave them on shared web servers? (Hosting sites with CPanel)?

Thank You and Success!

    
asked by anonymous 21.05.2018 / 16:30

2 answers

0

If you need to test small Ruby applications, one of the simplest ways is to use Heroku. With their free plan, it is possible to put some applications for testing. See in: link

    
21.05.2018 / 18:12
0

The Heroku is the simplest to solve in the short term.

If you are looking for a more robust solution that may be even cheaper than Heroku, look for Google Cloud Platform App Engine with CI / CD solutions using a tool such as Codeship or Travis.

You have a Google guide specific to Rails applications, see .

For the database, if you use PostgreSQL or MySQL, I recommend on the same infrastructure, Cloud SQL. You also have a complete guide to integrating with Google Cloud Platform .

Much is said about Amazon Web Services where you will find a good service but that can give you headaches on self-scale. There are comparisons between Heroku and AWS that can give you a better north.

    
23.05.2018 / 19:22