Skip to content

RonRicardo/rails-debugging-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Rails Debugging Workshop

A comprehensive Rails API application designed for debugging workshops and learning Rails development best practices. This repository includes everything you need to get started with Rails debugging, testing, and development.

πŸš€ Quick Start with Codespaces

Recommended: Open this repository in GitHub Codespaces for a pre-configured development environment.

Open in GitHub Codespaces

What's Included in Codespaces

  • Ruby 3.3.5 with Bundler 2.6.6
  • Rails 7.2.2.2 (API-only mode)
  • PostgreSQL 15 database
  • VS Code with Ruby extensions
  • All development tools pre-installed

πŸ—οΈ Project Structure

rails-debugging-workshop/
β”œβ”€β”€ .devcontainer/          # Codespace configuration
β”‚   β”œβ”€β”€ Dockerfile         # Ruby 3.3.5 + tools
β”‚   β”œβ”€β”€ devcontainer.json  # VS Code settings
β”‚   β”œβ”€β”€ docker-compose.yml # PostgreSQL service
β”‚   └── setup.sh          # Automated setup
β”œβ”€β”€ app/                   # Rails application
β”‚   β”œβ”€β”€ app/              # Controllers, models, views
β”‚   β”œβ”€β”€ config/           # Rails configuration
β”‚   β”œβ”€β”€ Gemfile           # HashiCorp-style gem management
β”‚   └── README.md         # Rails app documentation
└── README.md             # This file

πŸ› οΈ Local Development

Prerequisites

  • Ruby 3.3.5
  • Bundler 2.6.6+
  • PostgreSQL 15+
  • Node.js 18+ (optional)

Setup

  1. Clone the repository

    git clone <repository-url>
    cd rails-debugging-workshop
  2. Install dependencies

    cd app
    bundle install
  3. Set up the database

    bundle exec rails db:create
    bundle exec rails db:migrate
  4. Start the server

    bundle exec rails server

About

it's on the tin. but is it off the rails

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published