Make JS-heavy web apps with a lightweight REST interface to ActiveRecord
Pull request Compare This branch is 18 commits behind 6:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
client
db/migrate
lib
server
spec
.gitignore
.rspec
.rvmrc
.slugignore
Gemfile
Gemfile.lock
Guardfile
Procfile
README.md
Rakefile
config.ru
console
unicorn.rb

README.md

Features Backbone.js, Twitter Bootstrap, Jasmine, Sprockets (CoffeeScript, SASS, and JST support), and more.

install

git clone https://github.com/6/sinatra-backbone-boilerplate.git your_app
cd your_app
git remote rm origin
git remote add upstream https://github.com/6/sinatra-backbone-boilerplate.git
bundle install

configure activerecord with postgres (optional)

Open /server/application.rb and modify the DATABASE_URL. Look at sinatra-activerecord for specifics on the rake tasks for migrations and such.

run

rake start
rake guard
rake test

Open http://localhost:5000 for the web app and http://localhost:8888 for Jasmine.

pulling in updates

git fetch upstream
git merge upstream/master