Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Be Happy With Ruby on Rails - Ecosystem

Be Happy With Ruby on Rails - Ecosystem

ETEC Fernando Prestes - Sorocaba

lucas renan

May 19, 2015
Tweet

More Decks by lucas renan

Other Decks in Programming

Transcript

  1. be happy with
    ruby on rails
    * ecosystem

    View full-size slide

  2. guru
    sorocaba

    View full-size slide

  3. wanna be a
    developer?

    View full-size slide

  4. you can be a happy
    programmer

    View full-size slide

  5. yukihiro
    matsumoto
    "matz"

    View full-size slide

  6. programming language
    ruby

    View full-size slide

  7. david
    heinemeier
    hansson
    "dhh"

    View full-size slide

  8. web framework
    ruby on rails

    View full-size slide

  9. adopted by a lot of
    startups

    View full-size slide

  10. $ gem install rails

    View full-size slide

  11. Gemfile
    source 'https://rubygems.org'
    # Bundle edge Rails instead: gem 'rails', github:
    'rails/rails'
    gem 'rails', '4.2.1'
    # Use sqlite3 as the database for Active Record
    gem 'sqlite3'
    # Use SCSS for stylesheets
    gem 'sass-rails', '~> 5.0’
    # Use Uglifier as compressor for JavaScript assets
    gem 'uglifier', '>= 1.3.0'
    # Use CoffeeScript for .js.coffee assets and views
    gem 'coffee-rails', '~> 4.1.0’

    View full-size slide

  12. asset pipeline

    View full-size slide

  13. app/stylesheets/application.css
    /*
    *= require_tree .
    *= require_self
    */

    View full-size slide

  14. app/javascripts/application.js
    //= require jquery
    //= require jquery_ujs
    //= require_tree .

    View full-size slide

  15. version control

    View full-size slide

  16. code quality

    View full-size slide

  17. continous
    integration

    View full-size slide

  18. $ git push heroku master

    View full-size slide

  19. where to
    learn?

    View full-size slide

  20. show me in action!

    View full-size slide