Code-dot-mil / code.mil

An experiment in open source at the Department of Defense.
https://www.code.mil
MIT License
1.28k stars 121 forks source link

Add featured code projects "above the fold" on homepage #140

Open jordangov opened 6 years ago

jordangov commented 6 years ago

Users visiting the site might want to see some of the neat projects that have been open sourced within the DoD. It would be good to have a snapshot of two or three of these on the homepage, above the fold.

(Perhaps a slideshow instead of the static hero element?)

jotasprout commented 5 years ago

I'm looking for ways to get involved and am interested in taking this on.

jordangov commented 5 years ago

Thanks Jay! Happy to see what you come up with.

jotasprout commented 5 years ago

I don't see any of what I expected in the repo -- meaning, the files for the website. Maybe I'm not understanding the issue or repo. I thought you wanted a gallery (grid or slideshow) of some type here: https://code.mil/ toward the top of the page with links to featured projects. If that's true, where are the files I'd edit in my branch or whatever?

jordangov commented 5 years ago

That is correct... and all of the source files are in the /src directory in this repo. There are directions on how to get started in the CONTRIBUTING document.

jotasprout commented 5 years ago

Sorry. I'm lame. I just didn't scroll down far enough.

milovanderlinden commented 5 years ago

I think that having a code.json file generated after init makes the projects available for rendering in the templates thus allowing the creation of a limited list for this purpose.

I am curently setting up a jekyll hook for this:

  Jekyll::Hooks.register :site, :after_init do |site, payload|
    RunMeOnce.process(site, payload)
  end 

In the RunMeOnce having the same code as in code_gov_inventory_generator.rb but writing it to a file would do the trick for making code.json available for templating

jordangov commented 5 years ago

Neat! Good luck, let us know if you have questions.

lerenah commented 5 years ago

I posted another comment taking myself off of this one. I was having too many issues setting up the environment.

On Sun, Dec 9, 2018 at 1:05 AM Jordan Kasper notifications@github.com wrote:

Neat! Good luck, let us know if you have questions.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Code-dot-mil/code.mil/issues/140#issuecomment-445513733, or mute the thread https://github.com/notifications/unsubscribe-auth/AfW4b81VrMQsUNshnQP1aAnCfklthaoEks5u3KgegaJpZM4RZdaU .

-- Messages From a Bottle Podcast, Conversations for Your Higher Self

Newest Podcast Episodes here http://www.messagesfromabottle.com

jordangov commented 5 years ago

@lerenah That's unfortunate... we try to make the contributing documents good for this reason! Where were you getting stuck?

lerenah commented 5 years ago

I kept installing the virtualenvwrapper and then when I would try and run the initial command, it would not recognize the environment, even though it had been installed. Me and another developer kept trying but ended up having to switch to a different project due to time constraints. It was a hackathon.

On Sun, Dec 9, 2018 at 12:17 PM Jordan Kasper notifications@github.com wrote:

@lerenah https://github.com/lerenah That's unfortunate... we try to make the contributing documents good for this reason! Where were you getting stuck?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Code-dot-mil/code.mil/issues/140#issuecomment-445554954, or mute the thread https://github.com/notifications/unsubscribe-auth/AfW4bzE3UFhfdGFZ-z2xd-bew0qMDnkQks5u3UWNgaJpZM4RZdaU .

-- Messages From a Bottle Podcast, Conversations for Your Higher Self

Newest Podcast Episodes here http://www.messagesfromabottle.com

GrooveCS commented 3 years ago

Is this still an Open Issue?