DEV Community

Discussion on: A very short intro to the Roda web toolkit

Collapse
 
carc1n0gen profile image
Carson • Edited

Hi, I'm a PHP and Python developer who was looking in to ruby frameworks and wanted to try roda. So I found this guide hoping it would help me figure out how to get going. But nothing here shows anything the official documentation doesn't. So from a non-ruby developer, how the heck do you run a roda app?

Collapse
 
megatux profile image
Cristian Molina

Hi Carson, you are right, this little guide assumes Ruby web experience.
Basically you need a modern Ruby, the Roda gem installed and a 'config.ru' file with something like:

require './app'
run App

Then, you execute the app with

$ rackup config.ru

I'll add this to the guide or made a better comment here.
Thanks

Collapse
 
carc1n0gen profile image
Carson

Thank you! I've been looking for this everywhere! So many ruby micro frameworks assume I already knew what rack was!