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.

Yassine Zeriouh

Yassine Zeriouh

·

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

You may use @ to mention someone.

Ruby on Rails Support

1 total vote
Yassine Zeriouh
  • Dennis moved item to board Under review

    6 days ago
  • Yassine Zeriouh moved item to project Ploi Core Requests

    6 days ago
  • Yassine Zeriouh created the item

    6 days ago