"Fossies" - the Fresh Open Source Software Archive

Member "moodle/lib/maxmind/readme_moodle.txt" (28 Jul 2021, 982 Bytes) of package /linux/www/moodle-latest-39.tgz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "readme_moodle.txt": 3.10.4_vs_3.11.

    1 GeoIP2 PHP API
    2 ==============
    3 
    4 No changes from the upstream version have been made, it is recommended by upstream
    5 to install these depdencies via composer - but the composer installation is bundled
    6 with a load of test files, shell scripts etc (and we don't use composer to manage
    7 'production depdendencies') so we have to do it manually.
    8 
    9 Information
   10 -----------
   11 
   12 URL: http://maxmind.github.io/GeoIP2-php/
   13 License: Apache License, Version 2.0.
   14 
   15 Installation
   16 ------------
   17 
   18 1) Download the latest versions of GeoIP2-php and MaxMind-DB-Reader-php
   19 wget https://github.com/maxmind/GeoIP2-php/archive/v2.10.0.zip
   20 wget https://github.com/maxmind/MaxMind-DB-Reader-php/archive/v1.5.1.zip
   21 
   22 2) Unzip the archives
   23 unzip v2.10.0.zip
   24 unzip v1.5.1.zip
   25 
   26 3) Move the source code directories into place
   27 mv GeoIP2-php-2.10.0/src/ /path/to/moodle/lib/maxmind/GeoIp2/
   28 mv MaxMind-DB-Reader-php-1.5.1/src/MaxMind/ /path/to/moodle/lib/maxmind/MaxMind/
   29 
   30 4) Run unit tests on iplookup/tests/geoip_test.php.