18F / dashboard

DEPRECATED: A site to track our projects' status and much, much more...
Other
44 stars 25 forks source link

Update import-public.rb to import Hub API JSON #194

Closed mbland closed 9 years ago

mbland commented 9 years ago

Replaces the need for the _data/private git submodule. Depends on 18F/hub#182 going in first. When that's done, I'll add the imported projects.json file.

cc: @gboone

gboone commented 9 years ago

Looks good, @mbland I'm going to pull the branch down and run the script to generate the data file to make sure it all comes out correctly.

gboone commented 9 years ago

This will (if merged) render #193 obsolete, right?

mbland commented 9 years ago

Yes, it will.

mbland commented 9 years ago

Now that 18F/hub#182 is in, waiting for a public Hub deployment to expose the new API before following through on this PR.

mbland commented 9 years ago

With public Hub push 18F/hub#189 now live, I've imported _data/projects.json and added it to this here PR. Looks great on my machine!

gboone commented 9 years ago

There's one change I need to push before we merge: rename the page for the project formerly known as mirage to discovery.

mbland commented 9 years ago

Y'know, it shows up alright in the API already: https://18f.gsa.gov/hub/api/projects/

gboone commented 9 years ago

Yeah, but the file page/project/discovery.html needs to be there or .../dashboard/discovery/ (as linked on the landing page) will 404

gboone commented 9 years ago

see: 0613f22, I think this is good now

mbland commented 9 years ago

Ohh... Sorry, I thought you meant the YAML file, not the dashboard file. Nevermind. :-P Guess you can pull when ready!