From 3d1e543a6771b8c532ae90d06f5094790d7f39f1 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Tue, 28 Jan 2020 18:22:58 +0000 Subject: [PATCH] Put full vehicle number and link to the map in vehicles.html tpl --- 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