MDL-60291 libraries: bump readme to actual versions

This commit is contained in:
Eloy Lafuente (stronk7) 2017-10-12 00:47:22 +02:00
parent 5fab66aad8
commit 9ead15b629

View file

@ -16,15 +16,15 @@ Installation
------------
1) Download the latest versions of GeoIP2-php and MaxMind-DB-Reader-php
wget https://github.com/maxmind/GeoIP2-php/archive/v2.4.2.zip
wget https://github.com/maxmind/MaxMind-DB-Reader-php/archive/v1.1.0.zip
wget https://github.com/maxmind/GeoIP2-php/archive/v2.6.0.zip
wget https://github.com/maxmind/MaxMind-DB-Reader-php/archive/v1.1.3.zip
2) Unzip the archives
unzip v2.4.2.zip
unzip v1.1.0.zip
unzip v2.6.0.zip
unzip v1.1.3.zip
3) Move the source code directories into place
mv GeoIP2-php-2.4.2/src/ /path/to/moodle/lib/maxmind/GeoIp2/
mv MaxMind-DB-Reader-php-1.1.0/src/MaxMind/ /path/to/moodle/lib/maxmind/MaxMind/
mv GeoIP2-php-2.6.0/src/ /path/to/moodle/lib/maxmind/GeoIp2/
mv MaxMind-DB-Reader-php-1.1.3/src/MaxMind/ /path/to/moodle/lib/maxmind/MaxMind/
4) Run unit tests on iplookup/tests/geoip_test.php with PHPUNIT_LONGTEST defined.