CoderDojo / community-platform

Zen, the CoderDojo Community Platform!
https://zen.coderdojo.com
MIT License
120 stars 55 forks source link

Cache/Import geonames data for all countries.. #207

Closed dberesford closed 9 years ago

dberesford commented 9 years ago

It's time to do this, we know if will take ages to run so lets run it once and keep all the cached data so we can quickly populate staging and production. Script should do it on a country by country basis (I think the existing one already does?)

ckiss commented 9 years ago

I need to put some sleeps into the script to lower the CPU usage then run the script again and export the data from the DB into a INSERT INTO ... sql kind of script.