<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: jtmst</title>
    <description>The latest articles on DEV Community by jtmst (@jtmst).</description>
    <link>https://dev.to/jtmst</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F471519%2Fe1f2b5e8-fee1-44d9-ab09-4a76791c2c1d.jpeg</url>
      <title>DEV Community: jtmst</title>
      <link>https://dev.to/jtmst</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jtmst"/>
    <language>en</language>
    <item>
      <title>How to deploy Rails 8 + Hotwire apps on Railway</title>
      <dc:creator>jtmst</dc:creator>
      <pubDate>Sat, 24 Jan 2026 16:45:10 +0000</pubDate>
      <link>https://dev.to/jtmst/how-to-deploy-rails-8-hotwire-apps-on-railway-123b</link>
      <guid>https://dev.to/jtmst/how-to-deploy-rails-8-hotwire-apps-on-railway-123b</guid>
      <description>&lt;p&gt;Rails 8 and Hotwire make real-time UI updates incredibly simple, but deploying them usually means wiring up Redis, Postgres, Action Cable, and Rails yourself. We can use the Railway template system to simplify all of that and get up and running faster.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://railway.com/deploy/rails-8-hotwire?referralCode=DjWkIY" rel="noopener noreferrer"&gt;Use this template to deploy to railway&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What you get:&lt;br&gt;
The template above spins up three services&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Rails 8.1 with Turbo Streams and Stimulus&lt;/li&gt;
&lt;li&gt;PostgreSQL&lt;/li&gt;
&lt;li&gt;Redis for Action Cable pub/sub&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This template pre-wires everything together. ENV variables and networking have already been configured, along with Tailwind and a working broadcast demo so you can see how Hotwire works with streams right away.&lt;/p&gt;

&lt;p&gt;Deploy Steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Click &lt;a href="https://railway.com/deploy/rails-8-hotwire?referralCode=DjWkIY" rel="noopener noreferrer"&gt;this&lt;/a&gt; deploy button&lt;/li&gt;
&lt;li&gt;Sign in or create Railway account&lt;/li&gt;
&lt;li&gt;Wait for build (2ish minutes)&lt;/li&gt;
&lt;li&gt;Click the generated URL&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To test the broadcast functionality, open the link in two separate browser tabs.  Enter a message in one tab, and see that it instantly displays in the other tab without refresh. &lt;/p&gt;

&lt;p&gt;This is the power of Turbo streams.  A relatively simple config allows the server to broadcast HTML to every connected client&lt;/p&gt;

&lt;p&gt;How to customize:&lt;br&gt;
The template here is just the basic wiring. To customize and get started on your own real time application you'll want to fork, clone, and build on top of it:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Fork the &lt;a href="https://github.com/jtmst/rails-hotwire-starter" rel="noopener noreferrer"&gt;source repo&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Clone it locally&lt;/li&gt;
&lt;li&gt;Make your changes and customizations&lt;/li&gt;
&lt;li&gt;Push to your fork&lt;/li&gt;
&lt;li&gt;Connect railway to your repo and deploy&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Use cases:&lt;br&gt;
If you're new to Rails or Hotwire, here are some project types well-suited for this template&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Real-time dashboards&lt;/li&gt;
&lt;li&gt;Chat features&lt;/li&gt;
&lt;li&gt;Live notifications&lt;/li&gt;
&lt;li&gt;Collaborative/Multiplayer UIs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Links&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://railway.com/deploy/rails-8-hotwire" rel="noopener noreferrer"&gt;The template&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/jtmst/rails-hotwire-starter" rel="noopener noreferrer"&gt;Source code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://hotwired.dev/" rel="noopener noreferrer"&gt;Hot Wire docs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.railway.com/quick-start" rel="noopener noreferrer"&gt;Railway docs&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>webdev</category>
      <category>rails</category>
      <category>ruby</category>
      <category>hotwire</category>
    </item>
  </channel>
</rss>
