The (former) @codeforamerica website
This repository holds the source code and static assets for the last version of codeforamerica.org, which can be found at archive.codeforamerica.org. Learn more about what Code for America does on our About page.
Note: Code for America's site is no longer built using the files in this repository. We've moved to another system (more details on that soon). If you want to report a bug or issue with the current site, please send an email to [email protected] or visit the site and use the live chat support feature in the bottom right of the page.
We use Github like a content management system -- all our templates and content are collaboratively edited by staff and external contributors on Github. We use Jekyll to generate everything into static HTML files that are served using Apache.
Our technology and communications teams built the site in partnership with Brighton web design firm Clearleft and Colorado branding firm Dojo4. Ongoing maintenance and improvements on the site are done collaboratively with internal staff and external volunteers. Members of the CfA community are welcomed to provide their input using Github issues, or help make improvements by submitting a Pull Request.
... and many more CfA staff members and community contributors.
An easy way to submit a pull request for just simple text changes is to:
If you need to add or replace an image, you'll need to:
We use the GitHub issue tracker to track bugs and features. Before submitting a bug report or feature request, check to make sure it hasn't already been submitted. You can indicate support for an existing issue by voting it up. When submitting a bug report, please include a screenshot and any additioanl details that can help us debug, such as your operating system and browser version.
You can use the nifty Jekit app to preview changes you make to this site.
To do this, fork this repo, and commit your changes on a branch to your fork. You can then preview what your changes look like by navigating to:
For a basic example of its usage, if GitHub user @lolname has made changes to the /people/dave-guarino page on their fork (on the
masterbranch), they can preview their changes using Jekit by going to:
To run the site locally on your own computer (most helpful for previewing your own changes), you will need Jekyll installed (click here for Jekyll installation instructions.)
Fork and clone the repository, then run the following command in the root directory of the repo:
jekyll serve --watchwhich will watch for changes to files.
Your computer should now be serving your local copy of the site at:
All CSS and stylesheets are hosted in the pattern-library repository, and served lived from http://style.codeforamerica.org.
Uses Jekyll for templating – converted HTML files are in the _site folder.
Copyright (c) 2009-2014 Code for America. See LICENSE for details.