- Create a SinatraBackboneBoilerplate repository
- Clone it down!
- Create a new Sinatra application (Gemfile, config.ru, app.rb)
- Don't forget to
bundle
- Add a
public folder that contains style and scripts
- Add an
app.js to scripts; add a main.scss to style.
- Create a
layout.erb inside of a new views folder to include these files
- Use a CDN to also link to jQuery => Underscore => Backbone
- Launch it and verify using Chrome DevTools (Sources tab) that all 4 Javascript files are loaded.