Yassine Zeriouh
Add support for deploying Ruby on Rails applications
Dennis
@Yassine-Zeriouh Can you provide information as to how this works? I'm new to Ruby on Rails.
Any example how to set this up with an example Hello World would be great.
Yassine Zeriouh
Item author@Dennis It's quite easy, you basically just need two commands, a build command and a serve command. Both should be customizable, but the most common approach is to use yarn for javascript packages and puma as a web server. Here's an example config for nginx, but it should work the same with other alternatives.
The trickiest part is getting the environment right. Installing the correct ruby version (There's rbenv to help with that), installing the correct node version with all required packages, etc.
Everything else should be very similar to a Laravel deployment :)
If you'd like to chat via Slack/Discord, I'm happy to go more into details :)
Ruby on Rails Support
-
Dennis moved item to board Under review
2 years ago -
Yassine Zeriouh moved item to project Ploi Core Requests
2 years ago -
Yassine Zeriouh created the item
2 years ago