Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Sample application built with Django and Backbone.js
JavaScript Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
project
src/highway-maps
.gitignore
LICENSE
README.md
bootstrap.py
buildout.cfg

README.md

highway-maps

Search highways and draw them on google maps.

Tools

I wanted to play with:

  • Django
  • Backbone.js
  • RequireJS
  • Buildout

Setup

  • 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

Running the application

  • 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

URLs

You might want to try some states with data like:

  • Tamaulipas.
  • Guerrero.
  • Hidalgo.
  • Mexico.
  • Morelos.
  • Nuevo León.
  • San Luis Potosí.
Something went wrong with that request. Please try again.