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

Isolate the database into its own repo #45

Open
martgnz opened this issue Mar 8, 2016 · 2 comments
Open

Isolate the database into its own repo #45

martgnz opened this issue Mar 8, 2016 · 2 comments

Comments

@martgnz
Copy link

martgnz commented Mar 8, 2016

It would be great to create a repository with the data in different formats.

Makes it easier to get the data in a controlled way with version control included. Not sure how to integrate this if the database gets updated automatically (maybe with a git hook?)

@ccamara
Copy link
Member

ccamara commented Mar 8, 2016

Indeed that would be something to consider. Take into account that currently we haven't finished our first alpha (see current milestones) and hence, the problem.

The approach that we are working to implement is to provide an API to expose the data so anyone can get latest data at any time (and -probably- update database from registered apps). There has been initial work on that (#10) and it is currently working, although only a few fields are currently exposed ( #30) (you can see it working on this url: http://new.cadaveresinmobiliarios.org/api/lista-general

Being said that, it wouldn't be so hard to create a cronjob that would create a copy of that data in our repository (will need to check git hooks, as I don't have experience with that.

Thanks for your proposal!

@ccamara
Copy link
Member

ccamara commented Mar 8, 2016

By the way, if you really want to get the latest data, @numeroteca has been working on it and you can get it from these sources: https://github.com/cadaveresinmob/adoptamap/tree/master/data and I am working on a parser that gets latest updates and prepares them for the import (https://github.com/ccamara/c_inmobiliarios_data). Please note that those links are a temporary solution, as they will not make any sense (and will become outdated) when we start using the new website which we are working on in this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants