Browse files

Add initial README file.

  • Loading branch information...
1 parent 1a43c81 commit dfceacf24733576646f4304e0cfb009193c92cb5 @doubleotoo committed Mar 19, 2012
Showing with 14 additions and 20 deletions.
  1. +14 −20 README.md
View
34 README.md
@@ -1,10 +1,11 @@
-$ rvm ruby-1.9.2-p290@justintoo.com-rails
-$ rvm do gem install bundler
-
+### [Rails 3, Compass, and (Twitter) Bootstrap Tutorial](http://nepalonrails.tumblr.com/post/13957284625/revisited-rails-3-1-x-with-compass-sass-and)
-Rails 3, Compass, and (Twitter) Bootstrap
-http://nepalonrails.tumblr.com/post/13957284625/revisited-rails-3-1-x-with-compass-sass-and
+```bash
+$ rvm ruby-1.9.2-p290@rails-compass_twitter_bootstrap-demo
+$ rvm do gem install bundler
+```
+### $RAILS_APP/app/assets/stylesheets/application.css.scss
```sass
/*
* This is a manifest file that'll automatically include all the stylesheets available in this directory
@@ -16,7 +17,7 @@ http://nepalonrails.tumblr.com/post/13957284625/revisited-rails-3-1-x-with-compa
@import "compass/css3";
@import "base";
```
-
+### $RAILS_APP/app/assets/javascripts/application.js
```javascript
// This is a manifest file that'll be compiled into including all the files listed below.
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
@@ -27,34 +28,27 @@ http://nepalonrails.tumblr.com/post/13957284625/revisited-rails-3-1-x-with-compa
//= require jquery
//= require jquery_ujs
//= require_tree .
-//= require bootstrap-alerts
-//= require bootstrap-dropdown
-//= require bootstrap-modal
-// Twipsy has to be loaded before popover,
-// otherwise causes a JS error.
-//= require bootstrap-twipsy
-//= require bootstrap-popover
+
//= require bootstrap-scrollspy
-//= require bootstrap-tabs
```
``` bash
$ RAILS_ENV=development bundle exec rake assets:precompile
$ RAILS_ENV=production bundle exec rake assets:precompile
```
-Important: If you add a new Javascript or CSS file, you must compile the code so it will be
-available in public/assets for production.
-
-Gemfile::
+__Important__: If you add a new Javascript or CSS file, you must precompile the code so it will be
+available in `public/assets` for production.
+### HAML
+```ruby
gem "haml-rails"
+```
```bash
$ rails generate controller home index
```
* Creates Home#index
- Controller named Home with a method called index
-
+ (i.e. a controller named `Home` with a method called `index`)

0 comments on commit dfceacf

Please sign in to comment.