From f6e0062da73de57f225df96ffe588bbe0dfd23e5 Mon Sep 17 00:00:00 2001 From: Alex Reisner <alex@alexreisner.com> Date: Tue, 4 Nov 2014 18:57:19 -0500 Subject: [PATCH] README clarification. --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 13107688..56378ebc 100644 --- a/README.md +++ b/README.md @@ -696,12 +696,11 @@ This lookup provides methods for geocoding IP addresses without making a call to You can generate ActiveRecord migrations and download and import data via provided rake tasks: + # generate migration to create tables rails generate geocoder:maxmind:geolite PACKAGE=city - rake geocoder:maxmind:geolite:download PACKAGE=city - rake geocoder:maxmind:geolite:extract PACKAGE=city - rake geocoder:maxmind:geolite:insert PACKAGE=city - rake geocoder:maxmind:geolite:load PACKAGE=city # runs the above three in sequence + # download, unpack, and import data + rake geocoder:maxmind:geolite:load PACKAGE=city You can replace `city` with `country` in any of the above tasks, generators, and configurations. -- GitLab