Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/birneamstiel/track-the-inspector

Visualize the position of recent ticket inspector reports in Berlin.
https://github.com/birneamstiel/track-the-inspector

flask mapbox public-transportation telegram

Last synced: 3 months ago
JSON representation

Visualize the position of recent ticket inspector reports in Berlin.

Awesome Lists containing this project

README

        

# Track the Inspector
screen shot 2018-12-16 at 02 00 49

## Setup

first, make sure you have pipenv isntalled (`brew install pipenv` if on MacOS) or have a look [here](https://docs.pipenv.org/install/) and clone the repo

### Running the backend locally
``` bash
cd Track-The-Inspector/
pipenv install
export FLASK_APP=server.py
pipenv run flask run
```

### Installing the telegram bot locally

`cd Track-The-Inspector/bot/src`

`pipenv install`

afterwards, create a `.env` file in the `src` directory to store the telegram api key: `echo TELEGRAM_API_KEY= > .env`

run the bot using `pipenv run python bot.py`