Alternately load students.json from a URL.
Review Request #6950 — Created Feb. 14, 2015 and submitted
When deploying, we need to have students.json available somewhere. Rather than
committing this to git, I've stuck it into an S3 bucket. We now check to see if
it's present on the filesystem and use that, and otherwise load it from a URL.
Verified that sonar still loads correctly.
- Summary:
-
Load students.json from a URL.Alternately oad students.json from a URL.
- Description:
-
When deploying, we need to have students.json available somewhere. Rather than
~ committing this to git, I've stuck it into an S3 bucket. This change loads it ~ from there rather than from a file. ~ committing this to git, I've stuck it into an S3 bucket. We now check to see if ~ it's present on the filesystem and use that, and otherwise load it from a URL. - Commit:
-
10cd4e5861c1655cee56223babe5d8da99e2d08874785b3da2979fd583eca208894677a13434a775
- Diff:
-
Revision 2 (+16 -4)
-
Tool: Pyflakes Ignored Files: lib/students.js Tool: PEP8 Style Checker Ignored Files: lib/students.js