Skip to content
vic

tapichu/highway-maps

Sample application built with Django and Backbone.js

tapichu/highway-maps.json
{
"createdAt": "2010-11-25T04:44:32Z",
"defaultBranch": "master",
"description": "Sample application built with Django and Backbone.js",
"fullName": "tapichu/highway-maps",
"homepage": "",
"language": "JavaScript",
"name": "highway-maps",
"pushedAt": "2011-03-23T21:25:03Z",
"stargazersCount": 4,
"topics": [],
"updatedAt": "2014-01-01T13:09:39Z",
"url": "https://github.com/tapichu/highway-maps"
}

Search highways and draw them on google maps.

I wanted to play with:

  • Django
  • Backbone.js
  • RequireJS
  • Buildout
  • I recommend crating a virtualenv isolated from your system Python:
    • virtualenv —no-site-packages myenv
    • cd myenv
    • source bin/activate (to activate the sandbox)
    • deactivate (to leave the sandbox)
  • Clone this repository: git clone [URL]
  • Change directory: cd highway-maps
  • Bootstrap buildout: python bootstrap.py
  • Run buildout: ./bin/buildout
  • Create the database tables: ./bin/django syncdb (create an admin user when prompted)
  • Populate the database: ./bin/django loaddata devel
  • Start the development server: ./bin/django runserver

You might want to try some states with data like:

  • Tamaulipas.
  • Guerrero.
  • Hidalgo.
  • Mexico.
  • Morelos.
  • Nuevo León.
  • San Luis Potosí.