Skip to content

Latest commit

 

History

History
76 lines (55 loc) · 992 Bytes

README.md

File metadata and controls

76 lines (55 loc) · 992 Bytes
marp
true

bg left:40% 80%

Intro to ruby on rails

_

Presenter.new(
  name: "Moustapha Sall",
  team: "🐼"
)

Ruby is designed to make programmers happy

Yukihiro "Matz" Matsumoto


Agenda

  1. Installing ruby with rbenv
  2. Intro to ruby syntax
  3. Getting started with rails: the MVC pattern
  4. Building a "real world" app

Installing rbenv

Using homebrew

brew install rbenv ruby-build

Then

rbenv init
rbenv global 3.2.2

Installing ruby and rails

Install the latest ruby version

rbenv install 3.2.2

Install bundler and rails

gem install bundler rails

Starting the web server

First make sure that your database is up to date

$ rails db:setup

Start the server

$ bin/dev

then head to http://localhost:3000