Skip to content

Poor man's version of swisstrains.ch, without using GPS data

Notifications You must be signed in to change notification settings

publictransit-in/livetrains

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Read Me

Pre-requisites

Optional requirements

Install (On Ubuntu)

  • sudo apt-get install make coffeescript python-pip python-gdal
  • sudo pip install geojson transitfeed pytz
  • make

Install (On Ubuntu with virtualenv)

  • sudo apt-get install make coffeescript python-pip libgdal1-dev
  • sudo pip install virtualenv
  • virtualenv venv
  • . venv/bin/activate
  • pip install -r requirements.txt
  • sudo wget http://svn.osgeo.org/gdal/branches/1.7/gdal/ogr/swq.h -o /usr/include/swq.h
  • pip install --no-install GDAL==1.7.0
  • cd venv/build/GDAL && python setup.py build_ext --include-dirs=/usr/include/gdal
  • pip install --no-download GDAL

Testing

  • make test
  • Point your browser to ./public/demo.html

Deployment

  • Copy/Symlink ./public directory under your web root folder(/var/www)

About

Poor man's version of swisstrains.ch, without using GPS data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •