PagerTree
PagerTree
  • 19
  • 52 876
Getting Started with Ruby on Rails in 2024 - The Complete Development Environment Guide
PagerTree Ruby on Rails Setup Guide: pagertree.com/blog/getting-started-with-ruby-on-rails-in-2024-the-complete-development-environment-guide
Overview
Ruby on Rails is a web development framework written in Ruby that helps developers build websites and applications quickly. It uses an MVC (Model-View-Controller) structure to organize code and make everyday tasks easier by following simple patterns instead of complex configurations. Rails also helps with database management and includes security features to protect against common threats. It's famous for building websites and apps, especially for startups, and powers well-known platforms like GitHub and Shopify.
This video will walk you through the 10 steps to setting up your Ruby on Rails development environment.
Step 1: Enable WSL
Enabling WSL will allow us to install and run Ubuntu. Ubuntu is a Linux distribution that is considered one of the easiest to use and has a lot of documentation, making it a good choice for setting up a Ruby on Rails development environment. Most of the code written with Ruby on Rails will run on a Linux server, so using Ubuntu can help ensure the development environment matches the production server.
Step 2: Install Ubuntu
Downloading Ubuntu from the Microsoft Store is a convenient way to run Ubuntu on your Windows machine without the need for dual-booting or using virtual machines. It runs through the Windows Subsystem for Linux (WSL), which allows you to use a complete Ubuntu terminal environment inside Windows.
Step 3: Update the Package List and Dependencies for Ruby
To get started with your Ruby install, we will install all the required dependencies for compiling Ruby within a Linux system. We will update the software packages using the Advanced Packaging Tool (APT) that are already in our terminal.
Step 4: Install the asdf Version Manager
Asdf is a Runtime Version Manager that manages multiple runtime versions within a single tool. We utilize asdf for Ruby on Rails to manage both Ruby and Node.js versions.
Step 5: Install Ruby
Ruby is the programming language used to build the framework. It’s known for being easy to read and write, which helps developers work quickly and efficiently. Ruby’s flexibility and simple syntax make it an excellent choice for web development, allowing you to build robust applications with less code. Rails uses Ruby to make web development faster and more intuitive.
Step 6: Install Node.js
Node.js is needed in a Ruby on Rails environment to handle front-end JavaScript tasks. While Ruby on Rails manages the backend, Node.js is commonly used to process and bundle JavaScript assets (like React, Vue.js, or Angular components), manage package dependencies with npm (Node Package Manager), and run tools like Webpack or Babel to optimize front-end code.
Step 7: Configure Git
Git is a standard tool in the software development industry for version control. We will set up our Ruby on Rails development environment to utilize Git as our version control.
Step 8: Install Rails
Rails is a web application development framework written in Ruby. It is designed to make programming web applications easier by making assumptions about what every developer needs to get started.
Step 9: Install PostgreSQL
PostgreSQL is a powerful, open-source database system that stores and manages data for applications. It's known for being reliable, secure, and supporting complex queries, making it a popular choice for web apps, analytics, and more. We will be setting up our Ruby on Rails Development Environment to utilize PostgreSQL.
Optional Step: Install Redis
Redis is an open-source, in-memory data store used as a database, cache, and message broker. It is super fast and commonly used to store frequently accessed data, improving the performance of web applications by reducing the need to fetch data from a slower database. You can use Redis for caching in Rails or using Sidekiq background workers.
Step 10: Get Your Rails App Running
Your Ruby on Rails development environment is almost complete. The last steps are to create your app, create your database, and get coding.
Переглядів: 280

Відео

PagerTree On-Call User QuickStart Guide
Переглядів 234 місяці тому
In this quick start guide, we will cover the basics of getting started as an account admin within PagerTree. The written documentation for account admins can be found at pagertree.com/docs/getting-started/oncall-users To learn more about PagerTree visit pagertree.com/ Transcript: In this QuickStart user guide, we will show you how to get started in PagerTree as an on-call team member. Account a...
PagerTree Team Admin QuickStart Guide
Переглядів 164 місяці тому
In this quick start guide, we will cover the basics of getting started as a team admin within PagerTree. The written documentation for team admins can be found at pagertree.com/docs/getting-started/team-admins To learn more about PagerTree visit pagertree.com/ Transcript: In this Team Admin QuickStart guide, we will explore the basics of team management in PagerTree. Team admins are responsible...
PagerTree Account Admin QuickStart Guide
Переглядів 124 місяці тому
In this quick start guide, we will cover the basics of getting started as an account admin within PagerTree. The written documentation for account admins can be found at pagertree.com/docs/getting-started/account-admins To learn more about PagerTree visit pagertree.com/ Transcript: In this quickstart guide, we will show you the basics of an account admin in PagerTree. Before watching this video...
Prometheus Basics in 143 Seconds
Переглядів 1495 місяців тому
In this video, we cover the key the basics of Prometheus Monitoring in 143 seconds. Learn more at pagertree.com/learn/prometheus This video was brought to you by PagerTree. On-Call. Simplified. Start your free trial today at pagertree.com Transcript: In the next 143 seconds, I will show you WHY you need Prometheus, WHAT it's all about, and what you need to understand before using it. Does this ...
SLA vs SLO vs SLI: Whats the Difference?
Переглядів 1,4 тис.5 місяців тому
In this video, we cover the key differences between SLA, SLO, and SLI defining each term and giving real world examples of how they differ. Learn more at pagertree.com/learn/incident-management/sla-vs-slo-vs-sli This video was brought to you by PagerTree. On-Call. Simplified. Start your free trial today at pagertree.com Transcript: SLA vs SLO vs SLI Whats the difference? In this video, we will ...
PagerTree Notification Rules
Переглядів 99Рік тому
With notification rules, you can perform custom notification sequences. Link to docs: pagertree.com/docs/notification-rules PagerTree intelligent on-call alert routing gives teams flexible schedules, escalations, & reliable notifications via email, SMS, voice, chatbots, & smartphone app. Learn more at pagertree.com/
PagerTree Routers
Переглядів 86Рік тому
With routers, you can perform complex matching and actions on alerts. Link to docs: pagertree.com/docs/routers PagerTree intelligent on-call alert routing gives teams flexible schedules, escalations, & reliable notifications via email, SMS, voice, chatbots, & smartphone app. Learn more at pagertree.com/
PagerTree Broadcasts
Переглядів 43Рік тому
PagerTree broadcasts are a great way to send mass messages to multiple teams or users (think of an all hands on deck situation). When using the broadcasts feature you can send one way messages and optionally request a response. Link to docs: pagertree.com/docs/broadcasts PagerTree intelligent on-call alert routing gives teams flexible schedules, escalations, & reliable notifications via email, ...
PagerTree Quick Start - Getting Started
Переглядів 445Рік тому
PagerTree intelligent on-call alert routing gives teams flexible schedules, escalations, & reliable notifications via email, SMS, voice, chatbots, & smartphone app. In this video, we'll cover the basics to get you started with PagerTree! Learn more at pagertree.com/docs/
PagerTree OnCall Schedules
Переглядів 143Рік тому
This video shows how to schedule users on-call in PagerTree. We go over the following: 1. How to read a schedule 2. Updating the escalation rules 3. Flushing a schedule 4. Creating the following types of events: 4a. Regular Event 4b. Repeating Event 4c. Rotating Event Link to docs: pagertree.com/docs/schedules PagerTree intelligent on-call alert routing gives teams flexible schedules, escalatio...
PagerTree Alert Workflow
Переглядів 66Рік тому
This video shows how data is ingested from 3rd party systems, transformed, and moves through PagerTree to ultimately notify Account Users. 1. A 3rd party software sends PagerTree data. 2. The PagerTree integration accepts the data, transforming it to an alert. 3. (Optional) A router, matches conditions and performs actions on the alert. 4. The alert is routed to a team. 5. The alert uses the te...
PagerTree Team Management
Переглядів 57Рік тому
This video shows the key information for PagerTree teams and how edit a team. Link to docs: pagertree.com/docs/teams PagerTree intelligent on-call alert routing gives teams flexible schedules, escalations, & reliable notifications via email, SMS, voice, chatbots, & smartphone app. Learn more at pagertree.com/
PagerTree 4.0 Release
Переглядів 130Рік тому
PagerTree 4.0 Release
What is MTTR ? - Key Incident Recovery Metrics to Reduce Downtime
Переглядів 39 тис.5 років тому
What is MTTR ? - Key Incident Recovery Metrics to Reduce Downtime
What is PagerTree?
Переглядів 6946 років тому
What is PagerTree?
Prometheus Tutorial
Переглядів 10 тис.6 років тому
Prometheus Tutorial

КОМЕНТАРІ

  • @juransco
    @juransco 22 дні тому

    Now this concepts is more clear than fresh water to me. Many thanks!

  • @malayasaurabh
    @malayasaurabh Місяць тому

    punedevopssociety.blogspot.com/2024/08/site-reliability-engineering-sre-and.html

  • @DeangeloHaggen
    @DeangeloHaggen Місяць тому

    How did we get 121.8 hours of downtime each year at the 2:10 timestamp?

  • @KostiantynBondarenko-z4h
    @KostiantynBondarenko-z4h 5 місяців тому

    Thanks for the video. That last diagram really helped

    • @pagertree
      @pagertree 5 місяців тому

      Glad it was helpful!

  • @KaleishaMiller
    @KaleishaMiller 5 місяців тому

    This video was really clear and helpful to understand the difference between the three SLA/SLO/SLI acronyms. Please continue to make other videos to simply techy terms!

  • @austinmiller9439
    @austinmiller9439 5 місяців тому

    Really well done! Crisp and clear!😎

  • @ChanceHaller
    @ChanceHaller 5 місяців тому

    Great and too the point.

  • @sunderedgaming
    @sunderedgaming 6 місяців тому

    Great breakdown of MTTR!

  • @theweegit
    @theweegit 7 місяців тому

    First metric equation: total time - downtime % total time, voiceover: total time plus downtime % total time, good start

  • @unkownwalker8853
    @unkownwalker8853 7 місяців тому

    Very informative but the problem the problem they fix isnt easy and the personnel is shortage , it affects their evaluation

  • @SagarRane-cf1hr
    @SagarRane-cf1hr 7 місяців тому

    very nice video to understand the parameter easy

  • @shawkattuffaha7318
    @shawkattuffaha7318 8 місяців тому

    How did you translate 142 hours to 1 outage per week

  • @hercules1345
    @hercules1345 Рік тому

    Very informative video. Thank you.

  • @risav4u
    @risav4u 3 роки тому

    Very crisp

  • @happsong
    @happsong 3 роки тому

    where you get 720?

  • @asifsiddiqui5794
    @asifsiddiqui5794 3 роки тому

    Good information, thanks!

  • @philneromelcuizon8170
    @philneromelcuizon8170 3 роки тому

    What are the basis of this formula for the uptime and etc?

  • @isoexperiencebytideerach8676
    @isoexperiencebytideerach8676 3 роки тому

    Thank you.

  • @renegmuniz
    @renegmuniz 4 роки тому

    This is great! I love it! but what about MTTD (Mean time to Detection)? It affects MTTR, the sooner you detected the sooner you can start working on it and have a better MTTR

  • @dineshdilli
    @dineshdilli 4 роки тому

    Thank you

  • @RahulKumar-je3mg
    @RahulKumar-je3mg 5 років тому

    Thanks for that quick information.

  • @AndresLeonRangel
    @AndresLeonRangel 5 років тому

    THis is pure Gold IT knowledge. Thanks for that. I already spinned up my server. I have y pagetree trial but when trying to verify phone the webapp doesnt recognize the TXT code being sent and i was not able to activate my phone for notifications. Other than that thank you...

    • @pagertree
      @pagertree 5 років тому

      Hi Andres - Glad you liked the video. Sorry about that error. We've fixed this in your account :)