Skip to content

thenickcox/backbone-rails-demo

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
bin
 
 
 
 
db
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Backbone Rails Demo

Deploy to Heroku

This is the sample application for my blog post entitled "Adding Backbone to an Existing Rails App".

This application was generated with the rails_apps_composer gem provided by the RailsApps Project.

Set Up (Mac OS X)

  1. brew install postgres
  2. Install Postgres.app
  3. run bundle install
  4. Create a config/database.yml file. In it, paste the contents of this file. You can leave the username and password blank.
  5. run rake db:create db:migrate
  6. run rake db:seed

The seed data contains a user with the following credentials:

email:    admin@test.com
password: passw0rd

Login as that user and check out the albums.

Problems? Issues?

If you have any problems at all with the setup of the Rails app or the Backbone code, please file an issue.

Ruby on Rails

This application requires:

  • Ruby 2.1.0
  • Rails 4.1.0

License

MIT

About

Code for my tutorial on adding Backbone to an existing Rails application

Resources

License

Stars

Watchers

Forks

Packages

No packages published