Adam McCrea
Adam McCrea
  • 4
  • 6 191
Migrating an 8-year-old SaaS app from Heroku to Render
Judoscale is a Rails app that’s been running on Heroku since 2016. In this video we see what it takes to migrate from Heroku to Render. Forget “hello world” demos, this is what migrating an app looks like in the real world.
judoscale.com
00:00 Introduction to Migrating SaaS Applications
01:05 Overview of JudoScale and Migration Plan
01:26 Setting Up the Staging Environment on Render
05:51 Configuring Environment Variables
09:59 Deploying the Web Service
11:44 Creating and Deploying the Worker Service
17:33 Handling Render Blueprint Failures
18:33 Manual Adjustments for Worker Service
19:35 Deploying and Linking Environment Variables
21:02 Setting Up Auto-Scaling for Worker Service
21:17 Configuring JudoScale with Render
25:00 Auto-Scaling Web Services
26:23 Adding Custom Domains
28:39 Migrating Clock Processes
31:38 Final Steps and Future Plans
มุมมอง: 331

วีดีโอ

NextJS to Rails: The code that powers our new marketing site
มุมมอง 2.9Kหลายเดือนก่อน
I just finished rebuilding our marketing site in Ruby on Rails, and it’s such a joy to work with! In this video I take you on a tour of our new Rails-driven “content” site (not a static site). 🙌 Let’s be friends! x.com/adamlogic ✉️ Don’t miss a thing: judoscale.com/newsletter 📚 Read more at our blog: judoscale.com/blog 00:00 Introduction to the Rewrite 00:35 Overview of the New Marketing Site 0...
Iterating On Our Calendar UI - "Current Time" Marker
มุมมอง 2142 หลายเดือนก่อน
Join me for some live-coding as I make some UI improvements to the “current time” marker in our new calendar. This is a Rails application, and we’ll be using Phlex and Tailwind for this feature. How I built the calendar UI: th-cam.com/video/KWA3qCGRP5g/w-d-xo.html Find me on Twitter: adamlogic What I work on everyday: judoscale.com
How I Built It: Calendar UI with Turbo Frames, Tailwind, and Alpine.js
มุมมอง 2.8K3 หลายเดือนก่อน
Building a dynamic calendar interface with Ruby on Rails In this video, I walk through a cool calendar feature I've been working on. I dive into the tech stack - Ruby on Rails, Phlex, Alpine JS, Turbo Frames, and Tailwind - and show how they come together to create a slick, interactive UI. I break down the component structure, CRUD operations, hover effects, and that neat highlight fade when yo...

ความคิดเห็น

  • @someguyO2W
    @someguyO2W 3 วันที่ผ่านมา

    Cool idea

  • @Jason-wm5qe
    @Jason-wm5qe 4 วันที่ผ่านมา

    Both Next and Rails are overkill for this project

    • @go2a
      @go2a 4 วันที่ผ่านมา

      Lol, why Rails is “overkill” here? Website built with a web framework, there is no problem with that.

    • @Jason-wm5qe
      @Jason-wm5qe 4 วันที่ผ่านมา

      @ each to their own but rails is marketed as an “application framework”. rails is being used here as a basic templating system. there’s no reason this can’t be a static html site

    • @go2a
      @go2a 3 วันที่ผ่านมา

      @@Jason-wm5qe you may as well be building your next project in HTML tables because a 2005 website told you so. Because if something’s marketed as an 'web application framework,' that means we’re bound by law to only use it to build applications in the most traditional sense possible. If we follow this logic, might as well tell every frontend developer to stick to Notepad since it’s 'marketed' for writing text. Rails is a tool, not a religious doctrine. If it gets the job done more efficiently, then why force-feed static HTML just because it fits the purest use case. Flexibility is the point.

  • @victorblomberg9152
    @victorblomberg9152 17 วันที่ผ่านมา

    Would be great to hear why you switched from an engineering perspective!

    • @adamlogic
      @adamlogic 17 วันที่ผ่านมา

      The short answer: We are a team of Rails devs, not Next.js devs. The long answer: judoscale.com/blog/post-jamstack-just-use-rails

  • @glauberbannwart7165
    @glauberbannwart7165 หลายเดือนก่อน

    Really cool content, have been putting my first toes into phlex, can’t wait to try some of the things you shared today.

  • @kellyaquinastom
    @kellyaquinastom หลายเดือนก่อน

    Cant wait for more on y ruby. I assume mvc vs chaos

  • @kellyaquinastom
    @kellyaquinastom หลายเดือนก่อน

    Funky look with mickey ears hehind u 😅

  • @justsmile7449
    @justsmile7449 หลายเดือนก่อน

    Hello sir thnks for your videos i m struggling to choose between ruby on rails or java spring boot there is more more jobs in java so is rails worth taking risk for it ? Thnks

  • @adamlogic
    @adamlogic หลายเดือนก่อน

    Jon digs into the *why* on our blog, getting a bit 🌶🌶 judoscale.com/blog/post-jamstack-just-use-rails

  • @anthonypetruzzi158
    @anthonypetruzzi158 หลายเดือนก่อน

    i know I'm gonna get hated for saying this but.... why didn't you just use WordPress for the site? I don't know how long it took to code that site, but I will tell you, you could have had that site done in a day with WordPress. I love Rails but you use the right tools for the right job. WordPress is the defacto when it comes to content or marketing sites.

  • @bobbycomputers
    @bobbycomputers หลายเดือนก่อน

    I find it really helpful to see Phlex being used in real apps. Thanks!

  • @sheko4515
    @sheko4515 หลายเดือนก่อน

    I prefer the standard Rails default erb default, controllers and action, not sure why I feel that this code is much more complex than the standard Rails default way.

    • @growlydog
      @growlydog หลายเดือนก่อน

      It probably feels that way because it's familiar. The real power of Phlex is it removes any doubt about where code should go. It's just Ruby, so it's fully testable. If you need to share code between components or views, just use modules or inheritance. Helpers are just functions. There's less chance of nil instance variables crashing/breaking your page. And if you want a component library, Phlex shines compared to partials, because again it's just Ruby, and you can clearly see required and optional parameters, in a way that Rails partials are somewhat lacking. Highly encourage you to give it another chance

    • @cassianoyasumitsu
      @cassianoyasumitsu หลายเดือนก่อน

      Me too, why write 6 lines of code if you can do it with 2?

  • @adamlogic
    @adamlogic หลายเดือนก่อน

    I touched briefly on Phlex in the video. If you want to go deeper, check out my guest lesson on GoRails: gorails.com/episodes/components-with-phlex-in-rails

  • @felr1b
    @felr1b 2 หลายเดือนก่อน

    something like livewire or liveview

  • @NTbooze
    @NTbooze 2 หลายเดือนก่อน

    Great video. Is there a repo for this?

    • @adamlogic
      @adamlogic 2 หลายเดือนก่อน

      Thanks! No public repo since this feature is part of our SaaS app, but I'll see if I can extract something for a public repo in future videos.

  • @mikedalton8681
    @mikedalton8681 2 หลายเดือนก่อน

    How does Alpine fit into the Rails ecosystem? Is it an alternative to Stimulus?

    • @adamlogic
      @adamlogic 2 หลายเดือนก่อน

      Yes, exactly. Alpine is a lightweight tool for applying behavior on top of server-generated HTML, just like Stimulus. I use it instead of Stimulus because I find it more declarative and requiring less boilerplate. This would be a good video topic! 😁

    • @gabrielchuan7647
      @gabrielchuan7647 2 หลายเดือนก่อน

      @@adamlogicwould definitely love to watch a video on this! I’m using stimulusJS with turbo at work currently. Came across your video when I was searching if it was possible to use Phlex with Turbo! Thanks for this video!

  • @ledockol
    @ledockol 2 หลายเดือนก่อน

    Thanks

  • @ArturTrzop
    @ArturTrzop 3 หลายเดือนก่อน

    I like the new feature!

    • @adamlogic
      @adamlogic 3 หลายเดือนก่อน

      Thanks Artur!

  • @anthonypetruzzi158
    @anthonypetruzzi158 3 หลายเดือนก่อน

    Question... How would this work with something like ActionCable so that multiple people get real time updates?

    • @adamlogic
      @adamlogic 3 หลายเดือนก่อน

      I haven't done much with ActionCable, but that sounds like a great idea for another video!

  • @mikedoel3875
    @mikedoel3875 3 หลายเดือนก่อน

    Did I beat Aaron?

    • @adamlogic
      @adamlogic 3 หลายเดือนก่อน

      By a mile!