Skip to content
Some examples of projects using Django and Brunch
CoffeeScript Python JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
todos-example
.gitignore
README.md
requirements.txt

README.md

Brunch-Django Examples

Todos

This is an integration of the Brunch + Chaplin Todo application found in TodoMVC with a backend using Django and Django REST Framework.

Once installed, the frontend is visible on http://127.0.0.1:8000/ and the API is browsable on its endpoint http://127.0.0.1:8000/api/tasks/

Install Django 1.3.5+ and Django Rest Framework 2.2.5+

In a Python virtual environment:

$ pip install -r requirements.txt
$ cd todos-example
$ python manage.py syncdb
$ python manage.py runserver

Install Brunch 1.5

You will need node.js 0.6.10+.

Install CoffeeScript if not done yet:

$ npm install -g coffee-script

Install Brunch:

$ npm install -g brunch

Then in the chaplin-brunch folder, to install dependencies execute:

$ npm install

And build the project with:

$ brunch build

or if you want to continiously rebuild the app:

$ brunch watch

Authors

Something went wrong with that request. Please try again.