Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev --> master #2112

Merged
merged 22 commits into from
Dec 13, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Run each of the following steps to get the site up and running.

To enable the ability to search and see all pages related to the blog, you can run `bundle exec jekyll serve` instead of `./serve` for the server start command. This will **slow down rebuild times dramatically**, so use this command with discretion.

To enable the ability to see the most recent posts, you can run `./serve-blog`. This takes longer than `./serve`, but **significantly less time** than building the entire site.

You should be able to see the site at: http://127.0.0.1:4000

## Alternative Installation using Docker
Expand Down
335 changes: 335 additions & 0 deletions _config-blog.yml

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion _config-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ env: "development"

exclude:
- _pages
- _cards
- _posts
- _authors
- CONTRIBUTING.md
Expand Down
25 changes: 15 additions & 10 deletions _layouts/project-tag-results.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,21 @@
{% assign matching_posts = page | match_posts | sort:'date' | reverse %}

<section class="usa-grid content-focus page-tag-results">
<section class="hero"
style="background-image: url({{ site.baseurl }}{{ page.image }});"
aria-label="{{ page.image_accessibility }}">
<div class="usa-grid">
<div class="hero-callout hero-callout-no_button background-dark">
<h1 class="h3 hero-callout-title">Project:<br>
{{ page.title }}</h1>

{% if page.image %}
<section class="hero"
style="background-image: url({{ site.baseurl }}{{ page.image }});"
aria-label="{{ page.image_accessibility }}">
<div class="usa-grid">
<div class="hero-callout hero-callout-no_button background-dark">
<h1 class="h3 hero-callout-title">{{ page.project-type }}:<br>
{{ page.title }}</h1>
</div>
</div>
</div>
</section>
</section>
{% else %}
<h1>{{ page.project-type }}: {{ page.title }}</h1>
{% endif %}

<section class="usa-section break-bottom">
<h2>{{ page.subtitle }}</h2>
Expand All @@ -24,7 +29,7 @@ <h2>{{ page.subtitle }}</h2>
</section>

<section class="usa-section">
<h3>Our blog posts about this project</h3>
<h3>Our blog posts about this work</h3>

{%
include tag-results.html
Expand Down
2 changes: 1 addition & 1 deletion _posts/2015-03-20-one-year-in-and-looking-forward.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ source projects.

Onward!

[1]: https://18f.gsa.gov/18f/team/culture/2014/03/19/hello-world-we-are-18f/
[1]: https://18f.gsa.gov/2014/03/19/hello-world-we-are-18f/
[2]: http://pif.gsa.gov
[3]: https://18f.gsa.gov/2015/01/08/creating-a-federal-marketplace-for-agile-delivery-services/
[4]: https://18f.gsa.gov/2015/02/12/highlights-from-the-agile-delivery-services-industry-day-events/
Expand Down
3 changes: 2 additions & 1 deletion _projects/fec-gov.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
layout: project-tag-results
project-type: "Project"
title: "The Federal Election Commission"
subtitle: Making campaign data easier to use
excerpt:
excerpt: We helped the FEC make it easier for journalists and members of the public to use their data.
image: /assets/img/home/hero-fec.png
image_accessibility: Image of the FEC data explorer with stylized magnifying glass.
tags:
Expand Down
24 changes: 24 additions & 0 deletions _projects/hhs-states.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
layout: project-tag-results
project-type: "Partner"
title: "Health and Human Services"
subtitle: Helping states update crucial systems
excerpt: HHS hired 18F to help states implement current best practices and upgrade legacy systems.
image: /assets/img/projects/hero_stateandlocal.png
image_accessibility: "Grayscale photograph of eleven people meeting in small groups during a workshop"
tags:
- state and local practice
expiration_date:
github_repo:
project_url:
---

Health and Human Services (HHS) is a federal agency, but many crucial HHS programs — like Medicaid — are administered by states.

HHS encourages states to upgrade legacy systems by offering funding incentives, but many states struggle to manage risk and build usable systems while navigating federal and state contracting rules. HHS hired 18F to step in and help states set these projects up for success through the technology acquisition process.

### Reducing risk by breaking up contracts

In our first project with HHS, we helped California get on the right path to buying a new system for child welfare case management by facilitating a two-day workshop to break a monolithic contract into smaller pieces (along with colleagues from California’s Department of Social Services, the Office of Systems Integration, and Code for America).

Next, HHS asked us to work with other states who needed to procure case management systems for child welfare. We also began applying what we learned to a new challenge: working with the Centers for Medicare and Medicaid Systems (also within HHS) to support states who were upgrading Medicaid data systems.
Binary file added assets/img/projects/hero_stateandlocal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions config_blog.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
require 'pry'
require 'rb-readline'
# script to update the blog build config
posts = './_posts'
post_directory = Dir[File.join(posts, '**', '*')]
stripped_post_directory = post_directory.map do |post|
post.slice(2, post.size)
end

post_count = stripped_post_directory.count
config_path = './_config-blog.yml'
lines = File.readlines(config_path)
acceptable_indices = [
post_count - 1,
post_count - 2,
post_count - 3
]

stripped_post_directory.each_with_index do |post, index|
if !lines.include? "- #{post}\n" and !acceptable_indices.include? index

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Favor modifier if usage when having a single-line body. Another good alternative is the usage of control flow &&/||.
Use && instead of and.

lines << "- #{post}"
end
end

File.open(config_path, 'w') do |f|
f.puts lines
end
6 changes: 0 additions & 6 deletions pages/developer.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ The [api.data.gov API](https://api.data.gov/developer/) provides a means for age

The [Discovery API](https://discovery.gsa.gov/docs/) drives the [Discovery Market Research Tool](https://discovery.gsa.gov/). It contains information on the vendors that are part of the OASIS and OASIS Small Business contracting vehicles, such as their contracting history, their elligibility for contract awards, and their small business designations.

### FBOpen

The [FBOpen API](https://18f.github.io/fbopen/) is a search index of opportunities to work with the U.S. Government. Learn more from the [launch announcement]({{ site.baseurl }}/2014/03/31/announcing-fbopen-government-opportunities-made-easier/) and the [GitHub repository](https://github.com/18f/fbopen). You can also view the live front-end interface built on the API at [fbopen.gsa.gov](https://fbopen.gsa.gov).

### FOIA

Expand All @@ -30,9 +27,6 @@ The [FOIA Modernization API](http://foia-hub.readthedocs.org/en/latest/api.html)

The [Hub API](https://18f.gsa.gov/hub/api/) provides web services for the [18F Hub](https://18f.gsa.gov/hub/), a repository of team and project information ([more details here]({{ site.baseurl }}/2014/12/23/hub/)).

### Midas

The [Midas API](https://pages.18f.gov/midas/developer/) provides reading, creating, and updating access to tasks, user profiles, and projects on GSA's [Open Opportunities](https://openopps.digitalgov.gov) service.

### OpenFEC

Expand Down
24 changes: 9 additions & 15 deletions pages/hire.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,17 @@ title: Hire 18F
permalink: /hire/
image: /assets/img/page-feature/hire-us.jpg
layout: default-image
lead: Let’s work together to design services that empower your team, better serve the public, and tackle the big problems facing your agency.
lead: Let’s work together to tackle your agency’s technology problems and transform how you serve the public.
---

We can work with you to explore and define a variety of problems, and then we can help you build or buy a solution.
Have a project in mind? Want to see if 18F can help your agency? Email Dan Kenny on our Agency Partnerships team at [inquiries18F@gsa.gov](mailto:inquiries18F@gsa.gov?subject=18F%20Website%20Inquiry&body=What%27s%20your%20name%3F%0A%0AWhat%20agency%20or%20office%20do%20you%20work%20for%3F%0A%0AWhat%27s%20your%20job%20title%20or%20role%3F%0A%0ATell%20us%20a%20little%20about%20the%20problems%20you%27re%20working%20on%2C%20or%20what%20project%20you%27re%20hoping%20to%20work%20on%20with%2018F:%0A%0AIf%20you%27d%20like%20us%20to%20call%20you%2C%20what%27s%20your%20phone%20number%3F%0A).

Because of our limited resources, 18F is not able to take on every
project that agencies propose. We select our projects through a
qualification and evaluation process led by our Agency Partnerships
Team. If you and 18F decide that we’re the right fit for a project and
we have the necessary time and resources, we’ll work with you to draft
the necessary documents to begin our partnership. You can read more
about how we work with other agencies in our [Partnership
Playbook](https://pages.18f.gov/partnership-playbook/).
We’ll set up a time to talk more, answer your questions, and ask about what you have in mind. Once we understand your office and the problems you're trying to solve, we'll figure out whether we can help you build or buy a solution.

18F is a cost-recoverable office, which means that we do not receive
appropriated funds from Congress and must charge our partner agencies to
cover our costs. Funding is set up through [Interagency
Agreements](https://pages.18f.gov/iaa-forms/).
<a class="usa-button" href="mailto:inquiries18F@gsa.gov?subject=18F%20Website%20Inquiry&body=What%27s%20your%20name%3F%0A%0AWhat%20agency%20or%20office%20do%20you%20work%20for%3F%0A%0AWhat%27s%20your%20job%20title%20or%20role%3F%0A%0ATell%20us%20a%20little%20about%20the%20problems%20you%27re%20working%20on%2C%20or%20what%20project%20you%27re%20hoping%20to%20work%20on%20with%2018F:%0A%0AIf%20you%27d%20like%20us%20to%20call%20you%2C%20what%27s%20your%20phone%20number%3F%0A">Email us</a>

Do you have a project in mind? Let us know: [inquiries18F@gsa.gov](mailto:inquiries18F@gsa.gov)
**How we work with partners**

18F is a cost-recoverable office, which means we don't receive appropriated funds from Congress and must charge our partner agencies for the work we do. We use [Interagency Agreements](https://pages.18f.gov/iaa-forms/) to set up the terms of our projects.

You can read more about how we work with agencies in our [Partnership Playbook](https://pages.18f.gov/partnership-playbook/).
4 changes: 2 additions & 2 deletions pages/what-we-deliver.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ If your agency’s project has a digital component, our team of software develop

- Improve a challenging user process by reimagining a daunting task, as we did with the [U.S. Citizenship and Immigration Service](https://my.uscis.gov/) and their immigration and visa processes.
- Build a new site and API to showcase and synthesize data from multiple sources, as we did with Department of Education's [College Scorecard](https://collegescorecard.ed.gov/).
- Help you make your data more accessible with a user-friendly site and developer tools, as we did with the [Federal Election Commission](https://beta.fec.gov/).
- Help you make your data more accessible with a user-friendly site and developer tools, as we did with the [Federal Election Commission]({{ site.baseurl }}/project/fec-gov/).
- Build web-based tools to streamline internal agency processes, as we did with [Communicart](https://cap.18f.gov/) and [CALC](https://calc.gsa.gov/).
- Scope a solution or collaborate on an idea in a way that empowers you to meet the needs of your users, as we did with the [Department of Labor’s Wage and Hour Division](https://18f.gsa.gov/2015/09/09/how-a-two-day-spring-moved-an-agency-twenty-years-forward/).
- Do user research and discovery sprints to promote a new digital model that houses information, as we did with NASA and the National Oceanic and Atmospheric Administration’s Climate Discovery project.
Expand All @@ -39,7 +39,7 @@ better results. If your agency is developing a new request for quotation
for IT services or is interested in innovative ways to buy technology,
our team is excited to work with you. We can help you:

- Write agile, modular, and user-centered design into your request for quotations through our RFP Ghostwriting service, like we did with the [Department of Health and Human Services](https://18f.gsa.gov/2016/03/22/helping-california-buy-a-new-child-welfare-system/).
- Write agile, modular, and user-centered design into your request for quotations through our RFP Ghostwriting service, like we did with the [Department of Health and Human Services]({{ site.baseurl }}/project/hhs-states/).
- Develop a marketplace to buy IT services using modern techniques, like we did with the [Agile Blanket Purchase Agreement](https://pages.18f.gov/ads-bpa/).
- Buy small pieces of open source code to advance your projects, like we’re doing with our [micro-purchase platform](https://micropurchase.18f.gov/).
{% endmarkdown %}
Expand Down
7 changes: 7 additions & 0 deletions serve-blog
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
if [ -n $FAST_BUILDS ]; then
export FAST_BUILDS=true;
fi

ruby config_blog.rb

LC_ALL="en_US.UTF-8" bundle exec jekyll serve --watch --host 0.0.0.0 --config="_config.yml,_config-fast-builds.yml,_config-blog.yml"