Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.45 KB

README.md

File metadata and controls

29 lines (18 loc) · 1.45 KB

SWorD

SWorD (Social Web of real Domotics) is a prototype social network where users, homes, providers, devices and appliances can interact and act in a "smarter" way, by talking each other and thus lowering the technical knowledge to use home automation and domotics systems.

LAB2

  1. Creation of static pages for our social network: home, about and contact
  • rails generate controller Pages home about contact (or from the RubyMine menu Tools > Run Rails Generator...)
  1. Add title to HTML files: "SWorD | Page name"
  1. Add an helper to avoid wrong rendering if the page title is not declared
  • in app/helpers/application_helper.rb
  • by editing the title tag in app/views/layouts/application.html.erb

LAB3 - Preparation

  1. Fill with some contents all the views

  2. Add bootstrap-sass gem to include the Bootstrap framework with Sass support http://twitter.github.io/bootstrap/

  • update the Gemfile
  • run bundle install
  1. Add and fill a custom SCSS file in app/assets/stylesheets