Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cities on map #84

Merged
merged 9 commits into from Dec 30, 2015
Merged

Cities on map #84

merged 9 commits into from Dec 30, 2015

Conversation

captn3m0
Copy link
Member

Includes work by @krsoninikhil. I refactored slightly to remove the json by-hand generator.

The only thing missing is a cache support, and as a result the generator is very slow. Since this is run on every build, it makes testing and working on hackercouch really slow.

Travis supports proper file-based caches (every build gets the same cache). We can use that to store the API responses from nominatim.

@captn3m0 captn3m0 mentioned this pull request Dec 30, 2015
@captn3m0
Copy link
Member Author

@krsoninikhil I've added cache support, so now the builds are running pretty fast. Also added geo.json to gitignore since its not meant to be committed. You can merge this once you have reviewed it 👍

@krsoninikhil
Copy link
Collaborator

That's better, I didn't know about the api response caching, thanks for pointing out.
But why the cache data is added in .gitignore, can't travis build also just use the cache generated on local build?

krsoninikhil added a commit that referenced this pull request Dec 30, 2015
@krsoninikhil krsoninikhil merged commit adb502d into master Dec 30, 2015
@krsoninikhil
Copy link
Collaborator

Its getting some issues with not importing leaflet over https

@captn3m0
Copy link
Member Author

We don't want to commit the cache to git, because its not the "source" for the repo, and can always be regenerated.

@krsoninikhil
Copy link
Collaborator

Okay.

@captn3m0 captn3m0 mentioned this pull request Jan 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants