Jacek Kowalski
2019-06-30 0b6d2f4164b9d823fb2a49d9fb4e83242f695e09
Update README - include requirements and info on running composer
1 files modified
22 ■■■■■ changed files
README.md 22 ●●●●● patch | view | raw | blame | history
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).