Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MST Real-Time Bus Tracker

Live map of Monterey-Salinas Transit bus positions, updated in real time via the GTFS-RT feed.

Install

git clone https://github.com/TheHTMLProject/MST-RealTime-Bus-Tracker.git
cd MST-RealTime-Bus-Tracker
docker build -t mst-bus-tracker .
docker run -d --restart unless-stopped --name mst-bus-tracker -e PORT=1234 -p 1234:1234 mst-bus-tracker

Replace 1234 in both -e PORT= and -p with your desired port.

Manage

docker logs -f mst-bus-tracker   # stream logs
docker stop mst-bus-tracker      # stop
docker start mst-bus-tracker     # start again
docker rm -f mst-bus-tracker     # remove

Local Development

npm install
npm start        # http://localhost:1234

Override the port with PORT=8080 npm start.

About

I made this so I can actively see where buses are in real time using the data from MST.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages