fazibear / awesome-opal

Awesome Opal
MIT License
97 stars 19 forks source link

[Documentation] Tutorial style intro? #32

Open rubyFeedback opened 1 year ago

rubyFeedback commented 1 year ago

Would it be possible to add an "official introduction" to opal? The examples are fine but it is quite sparse, and gaining a foothold into the opal world (from ruby) is quite difficult. I know a few things but I haven't yet understood the larger context of opal. I know ruby fairly well and a tiny bit of javascript but by and large I am not an expert in javascript, so more examples, and a better tutorial - as intro - would be super helpful if anyone has some time.

Meanwhile I am going to systematically work through the links here, but a good solid intro that is not too short, would be better IMO.

AndyObtiva commented 1 year ago

Check out the Opel-Rails README Usage section for a great getting started guide in a Rails 7 web application: https://github.com/opal/opal-rails

Also, check out this blog post: Using Opal Ruby with Rails 7

I heard back from people who went through that blog post, and it worked for them (though the baseball images might have changed web paths recently, so they don't work as is without modification).

Give the links above a spin.

I already contributed them to the awesome-opal project in this PR (waiting to be merged): https://github.com/fazibear/awesome-opal/pull/30