/BusBoardIL

A dashboard that given GPS coordinates shows the upcoming buses in Israel

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

BusBoardIL

A dashboard that given GPS coordinates shows the upcomming busses in Israel, requires access to an instance of curlbus.

How to use it?

Running demo here

Features

  • Given GPS coordinates shows upcomming busses in a radius.

Developing

Requirements

  1. Python 3
  2. mariadb

Install

Run the following:

sudo apt-get install python3-pip
git clone https://github.com/guysoft/BusBoardIL.git
cd BusBoardIL
sudo pip3 install -r requirements.txt
cd src
cp config.ini.example config.ini

Edit config.ini to include access to a mariadb instance db.

  1. Message /start to your bot to start.

Install using docker

Build status:

https://dockerbuildbadges.quelltext.eu/status.svg?organization=guysoft&repository=busboardil

Instrutions:

wget https://github.com/guysoft/BusBoardIL/blob/master/src/docker-compose.yml
docker-compose up -d

Then get the IP fron docker inspect and access port 80

Code contributions are loved!