GitXplorerGitXplorer
n

bici

public
2 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
ca946df2476e86157657da929ac72bbffddc02c5

auto

nnottombrown committed 14 years ago
Unverified
6d7d84f3538d218d3a1004d8e9b3fa9f3576551d

autocompleting

nnottombrown committed 14 years ago
Unverified
11c5a7fe7d454d383e3577236df7c21e2ae1df0b

fixed graph problem

nnottombrown committed 14 years ago
Unverified
f0217b2f10c0a34015eaa46b98d72fa5344f7158

moved map

nnottombrown committed 14 years ago
Unverified
1c921f3691b15833651b93e0f2aa1cfd81b95bdd

updated

nnottombrown committed 14 years ago
Unverified
d00e3eb79ac4cd80e3029ccdb04b18bc8de3e71e

removed user voice

nnottombrown committed 14 years ago

README

The README file for this repository.

This is a basic Django setup for Ubuntu and Apache 2. We are using python 2.5 and django 1.1

$ apt-get install python-setuptools Also South is useful for database migrations: $easy_install South The first time you do syncdb, comment out all the apps except for "south" The first time, initialize like this: $py manage.py schemamigration kiosks --initial Afterwards, use it like this: $py manage.py schemamigration kiosks --auto

Note that the database and the containing directory should be writable.

Install ElementTree from bicimap/crawler/ run $parsestation.py init Then set up a cron job to run $parsestation.py update every 10 minutes

your vhosts.conf should have this to work properly:

<VirtualHost 204.232.204.112> ServerName example.com ServerAlias www.example.com

         <Location "/">
             SetHandler python-program
             PythonHandler django.core.handlers.modpython
             SetEnv DJANGO_SETTINGS_MODULE bicimap.settings
             PythonDebug On
             PythonPath "['/home/tombrown/'] + ['/home/tombrown/bici/'] + sys.path"
          </Location>

          Alias /media/ /home/tombrown/bici/media/
          <Location "/media/">
              SetHandler None
          </Location>