cobalt-uoft / cobalt

Open data APIs for interfacing with public information from the University of Toronto.
https://cobalt.qas.im
MIT License
98 stars 20 forks source link

Implement a smart way of keeping local MongoDB instance in sync with `cobalt-uoft/datasets` #19

Closed qasim closed 8 years ago

qasim commented 8 years ago

This is purely a self-hosted scenario, where a user clones Cobalt and then runs it on their own server:

12177976_10207442107711751_858179338_n 1

A smart way to keep each local instance in sync with the main DB. Cron job to check if the HEAD of cobalt-uoft/datasets has been modified, and then update if so?