From d5e6f83f08f60a3a565583fc170288ca66f29529 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Bevacqua?= Date: Thu, 4 May 2017 12:40:47 -0300 Subject: [PATCH] datafiles already included in main bundle --- README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 44122883..86da4851 100644 --- a/README.md +++ b/README.md @@ -60,13 +60,9 @@ installation $ npm install geoip-lite -### 2. get the datafiles +### 2. update the datafiles (optional) -Then download the city data files from https://github.com/bluesmoon/node-geoip/tree/master/data -You need to get `geoip-city.dat` and `geoip-city-names.dat` and put them into the `data/` directory -of this package. - -You could also run `npm run-script updatedb` to do this automatically. +You could run `npm run-script updatedb` to do this automatically. **NOTE** that this requires a lot of RAM. It is known to fail on on a Digital Ocean or AWS micro instance. There are no plans to change this. `geoip-lite` stores all data in RAM in order to be fast.