From 86e6f6d9c9c0340d32fb9fbf93fdc938bef75bcf Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Sun, 20 Jun 2021 20:01:20 +0000 Subject: [PATCH] Update bus types: DN001, PA100-PA101, BR564-BR568, PR767-PR768, PR777 --- README.md | 22 ++++++++++++++++++++-- 1 files changed, 20 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fb7e2ef..7cbce0e 100644 --- a/README.md +++ b/README.md @@ -2,5 +2,23 @@ ## Usage -To gather vehicle to ID mapping run `parse.php`. -Files `mapping_A.json` and `mapping_T.json` are put in `data` directory. +Install dependencies by running: +``` +composer update +``` + +To gather vehicle to ID mappings just run: +``` +php parse.php +``` + +Output files `mapping_A.json` and `mapping_T.json` are put in `data` directory. + +## Requirements + +- [Composer](https://getcomposer.org/), +- PHP 7.0+, +- [PHP ftp extension](https://www.php.net/manual/en/ftp.installation.php), +- [PHP json extension](https://www.php.net/manual/en/json.installation.php), +- [PHP PDO extension](https://www.php.net/manual/en/pdo.installation.php), +- [PHP PDO SQLite extension](https://www.php.net/manual/en/ref.pdo-sqlite.php). -- Gitblit v1.9.1