Skip to content
Snippets Groups Projects
Commit f6e0062d authored by Alex Reisner's avatar Alex Reisner
Browse files

README clarification.

parent 8ba90c98
Branches
Tags
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment