xarisd / rails-basics-02-views

Presentation "Rails Basics 02 : Views"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rails Basics 02 - Views

This is a presentation about the View part of the MVC in Ruby on Rails.

It is the second part of a series of presentations about the basics of the Ruby on Rails web framework.

You can enjoy it online at http://xarisd.io/presentations/rails-basics-02-views

About this repository

Here you can find the source of the slides used for the presentation along with the tooling needed to build them.

Presentation is made with slideshow (s9) gem and reveal.js HTML Presentation Framework.

How to build/test the presentation

  1. You will need Ruby 2.1.2

  2. Install Bundler

gem install bundler
  1. Install the required gems (Ruby libraries needed)
bundle install
  1. Install the s9 template for reveal.js

You need to install manualy the slideshow-reveal.js template in order to build the presentation.

For instructions see here: https://github.com/xarisd/slideshow-reveal.js/blob/add-submodule-commands-to-readme/README.markdown.

Important! The official "Installation" section lacks the steps for the reveal.js submodule. So you get errors when "building" the presentation.

I have made a Pull Request to contribute. Until this is fixed...use my version of instructions :-)

  1. Edit the presentation files (presentation/presentation.md and the ruby files inside presentation/code directory)

  2. Build the presentation

rake
  1. Test the presentation: open presentation/slides/presentation.html in browser and enjoy.

  2. Explore what else you can do (export to pdf, open in browser etc)

rake -T

Tools used

About

Presentation "Rails Basics 02 : Views"

License:MIT License


Languages

Language:Ruby 87.1%Language:CSS 12.9%