**Note: This repo is deprecated, the brigade has since moved to an installation of Brigadehub. If you're noticing an issue with something on the current site, please contact the leadership team at Code for San Francisco for further support.***
The website for the Code for San Francisco Brigade
If you are tasked with writing posts for the site blog, follow these instructions:
What you'll need:
To create a new post:
To add an image:
To add a new notification:
Edit
buttonNotification
Built using Jekyll, Bootstrap, and the CfAPI.
We use GitHub Issues to track bugs and features. We've included several of our open GitHub Issues right on our homepage using the Civic Tech Issue Finder.
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 install dependencies (requires ruby and bundler).
cd sfbrigade.github.io/
./scripts/setup
Finally, run the following command in the root directory of the repo:
$ bundle exec jekyll serve
or
$ bundle exec jekyll serve --watch
The latter will cause Jekyll to watch for file changes and automatically
regenerate the HTML (though you will still need to refresh the browser).
If the --watch
flag does not work, try the following instead:
$ bundle exec jekyll serve --force_polling
(See here for
background information on why --watch
might not be working.)
Your computer should now be serving your local copy of the site at:
If the above URL does not work (e.g. when using Chrome), try:
(See this issue for more information.)
An accessible website/app is our number one priority. We value all contributions that put user accessibility as the top consideration when creating or modifying user interface elements. See http://www.w3.org/WAI/intro/wcag and for information/examples about accessible forms/controls see http://webaim.org/techniques/forms/controls.
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:
https://jekit.codeforamerica.org/USERNAME/sfbrigade.github.io/BRANCHNAME/
For a basic example of its usage, if GitHub user @lolname has made changes to the projects page on their fork (on the master
branch), they can preview their changes using Jekit by going to:
https://jekit.codeforamerica.org/lolname/sfbrigade.github.io/master/projects