Skip to content

nickls/backbone-rails-handlebars-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

backbone-rails-handlebars-example

An starter application with backbone.js, rails, and handlebars.

Running this example:

$ bundle install
$ rake db:create
$ rake db:migrate RAILS_ENV=development
$ rake db:seed

Recipe for creating a new backbone+rails+handlebars app

$ rails new .

Add:

  • gem 'backbone-on-rails'
  • gem 'handlebars_assets'
  • gem 'therubyracer'
  • gem 'less-rails-bootstrap'
  • gem "haml-rails"
Setting up our backbone installation
$ bundle install
$ rails generate backbone:install
$ rails generate backbone:scaffold task
$ rails generate
Setting up our rails installation
$ rails generate controller tasks
$ rails generate model Task title:string description:string complete:boolean
Setting up the DB
$ rake db:create
$ rake db:migrate RAILS_ENV=development
$ rake db:seed

About

An starter application with backbone.js, rails, and handlebars.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published