dougestey / toronto-city-hall-api

Powering municipal apps in Toronto.
5 stars 2 forks source link

Update db snapshot with complete wards & councillors #8

Closed dougestey closed 9 years ago

patcon commented 9 years ago

every update to the toronto and pupa db's boosts the repo size by 1mb and almost 50mb respectively. that's unfortunately pretty unsustainable (as storing databases in a git repo often is).

I'm going to work at getting this happening via the VM (#9), and hopefully we can purge these db's from the repo and force push later. We could also store these as release downloads outside the repo, and have vagrant simply fetch them :)

dougestey commented 9 years ago

Totally agreed. Storing db snapshots in the repo was never intended to be a full-time solution, just a stop gap until we have something more reasonable set up.

An option for db snapshots in the future is to serve them statically from the instance on which the API will be staged.

Sidenote - I noticed last night when I was on my desktop (pg 9.3.7) I was getting the same errors w/pupa that you were getting on your Ubuntu box trying to bring in that db. So definitely version related :)