Backbone.js + require.js + django-tastypie
JavaScript Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
backbone_example
.gitignore
README.md

README.md

Django+Backbone.js+Require.js Example

This is an example application using Django, with the help of django-tastypie, backbone.js, icanhaz.js and require.js. It is based on the awesome django-backbone-example by Josh Bohde. I have just taken his example and modified for the purpose of the demonstration.

Running locally

Preferably in a virtualenv, run the following commands:

git clone https://jvashishtha@github.com/jvashishtha/backbone-tastypie-requirejs.git
cd backbone-tastypie-requirejs/backbone_example
pip install -r requirements.txt
./manage.py syncdb --noinput
./manage.py runserver

This project uses grunt for building. So go to grunt-bbb for more info on how to do a build. Here's what I did:

npm install -g grunt
npm install -g bbb
bbb debug
bbb release

That's it. Run the above runserver command and open up the project.