Yassine Zeriouh

Yassine Zeriouh

Under review

Add support for deploying Ruby on Rails applications

Dennis

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.

no votes yet
Yassine Zeriouh

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 :)

no votes yet

Ruby on Rails Support

2 total votes
ikkebra Yassine Zeriouh
  • 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