- 4
- 6 191
Adam McCrea
เข้าร่วมเมื่อ 18 ก.ย. 2011
I make videos about being a SaaS founder and Rails developer, particularly about how we build our autoscaling service at Judoscale.
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
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...
Cool idea
Both Next and Rails are overkill for this project
Lol, why Rails is “overkill” here? Website built with a web framework, there is no problem with that.
@ 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
@@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.
Would be great to hear why you switched from an engineering perspective!
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
Really cool content, have been putting my first toes into phlex, can’t wait to try some of the things you shared today.
Cant wait for more on y ruby. I assume mvc vs chaos
Funky look with mickey ears hehind u 😅
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
Jon digs into the *why* on our blog, getting a bit 🌶🌶 judoscale.com/blog/post-jamstack-just-use-rails
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.
I find it really helpful to see Phlex being used in real apps. Thanks!
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.
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
Me too, why write 6 lines of code if you can do it with 2?
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
something like livewire or liveview
Great video. Is there a repo for this?
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.
How does Alpine fit into the Rails ecosystem? Is it an alternative to Stimulus?
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! 😁
@@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!
Thanks
I like the new feature!
Thanks Artur!
Question... How would this work with something like ActionCable so that multiple people get real time updates?
I haven't done much with ActionCable, but that sounds like a great idea for another video!
Did I beat Aaron?
By a mile!