zooniverse / Lens-Zoo

Apache License 2.0
0 stars 4 forks source link

Hacking the Quick Dashboard for the CFHTLS Reboot #287

Closed drphilmarshall closed 9 years ago

drphilmarshall commented 9 years ago

@chrissnyder you are not going to like all this hard-coding but hey, needs must when a deadline (Monday, before our news articles go out!) approaches. I cannot test https://github.com/drphilmarshall/Lens-Zoo/blob/master/app/controllers/quick_dashboard.coffee though, because the data that gets pulled in to my local app (started via npm run-script start) seems to be from the beta site. How can I get images from the production site, please? Also you could just merge this and we could try it out, live.

drphilmarshall commented 9 years ago

PS. This PR might also fix #286 as well as #284 . Great if you can look at this today!

drphilmarshall commented 9 years ago

Hey @chrissnyder I cannot debug this any further, because my local app is pulling in VICS82 subjects instead of CFHTLS ones, and I do not know how to set the app's data source correctly. THere's a promising line (marked source) in app/controllers/quick_dashboard.coffee that I saw you change, but there's no corresponding line in the package.json, or classifier.coffee, or anywhere as far as I can see. How do I choose the source of my images, so that my local app gets the same images as the live one?

In any case, you could try merging this PR anyway, it might help with the QD problems in #284 and #286!

chrissnyder commented 9 years ago

Can't get production data locally, only test data.