Created
March 20, 2018 08:27
-
-
Save mezis/1a4d0dca58c903ffc7884378a76bb9f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
puts "Press RETURN when the geocoder cache has been unpacked in tmp/cache/geocoder" | |
gets | |
Geocoder.config[:cache] = ActiveSupport::Cache::FileStore.new('tmp/cache/geocoder') | |
puts "Paste the correct Google API key:" | |
Geocoder.config[:api_key] = gets.strip | |
BackfillUserCityAreaService.new.run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment