Migration of Brigadehub hosted site back to Jekyll
Clone or download
gregboyer and ProLoser Adding next event
Adding next event
Latest commit e79635a Nov 15, 2018
Permalink
Failed to load latest commit information.
.bundle run make on updated makefile Feb 19, 2018
_data updating to my gravatar Nov 12, 2018
_events Adding next event Nov 16, 2018
_includes Fix conditional logic for including GA snippet Sep 26, 2018
_layouts Use https:// links for gravatar Oct 24, 2018
_plugins Fix conditional logic for including GA snippet Sep 26, 2018
_posts Fix image and author for WeVote post Oct 24, 2018
_projects Update sf-fire-risk-project.md Oct 25, 2018
about Use https:// links for gravatar Oct 24, 2018
admin add event, update netlify cms Sep 13, 2018
css Fix alignment of projects on sponsor page Jul 1, 2018
feeds Move events from posts to a collection Jan 22, 2018
img Upload “/img/uploads/we-vote-logo-wordmark-vertical-color-on-white-75… Oct 20, 2018
join add join core team page Aug 11, 2018
js Neglected to vendor updated JS libraries Oct 12, 2018
projects add: filterable list on project index Feb 5, 2018
scripts Move link in update-meetup script meetup description Apr 29, 2018
.gitignore Remove node_modules from repository Feb 20, 2018
.ruby-version wip Nov 23, 2017
CNAME Relaunch the site! Feb 7, 2018
CODEOWNERS Create CODEOWNERS Oct 22, 2018
Gemfile remove: liquid-md5 Feb 5, 2018
Gemfile.lock Update gem and yarn dependencies Oct 12, 2018
LICENSE Add LICENSE Feb 4, 2018
Makefile draft sanat tribute blog Apr 27, 2018
README.md Update README to include installing bundler and yarn Nov 11, 2018
_config.yml change site url to codeforsanfrancisco.org Apr 28, 2018
about.html Add ODSC as media partner Aug 4, 2018
android-chrome-192x192.png wip Nov 23, 2017
android-chrome-256x256.png wip Nov 23, 2017
apple-touch-icon.png wip Nov 23, 2017
blog.html Add ability to pin posts to the front page Apr 30, 2018
browserconfig.xml wip Nov 23, 2017
donate.html Fix spelling of San Francisco Aug 6, 2018
events.html add next 3 events Sep 17, 2018
favicon-16x16.png wip Nov 23, 2017
favicon-32x32.png wip Nov 23, 2017
favicon.ico wip Nov 23, 2017
favicon.png wip Nov 23, 2017
index.html Update Microsoft Bay Area website Nov 11, 2018
manifest.json wip Nov 23, 2017
mstile-150x150.png wip Nov 23, 2017
package.json Update npm dependencies Apr 29, 2018
safari-pinned-tab.svg wip Nov 23, 2017
sponsor.html Turn paragraph into heading on sponsors page May 7, 2018
yarn.lock Update gem and yarn dependencies Oct 12, 2018

README.md

Code for San Francisco's website

Brigadehub, the current host of codeforsanfranciso.org is retired we desire to find a new long term solution to host the website. The current thought is to move back to using a static site generator, Jekyll. This repository is attempt at that. It is now live at codeforsanfrancisco.org.

Heavily inspired by Chi Hack Night's website.

Developing

  • Install the version of Ruby specified in .ruby-version
    • Usage of rbenv recommended
    • gem install bundle
  • Install yarn (used for managing external asset libraries (like Bootstrap, jQuery, etc.)
  • Run make

If you add a new external resource, be sure to add lines to the relevant Makefile target to copy them into css/vendor and js/vendor.

Scripts

Several scripts are included to facilitate synchronizing data to/from the site and external sources. Relevant scripts are highlighted below:

scripts/update-meetup

This script is used to update a Meetup.com event with the description and metadata specified in the corresponding markdown document in the _events/ collection. It should be run any time an event is updated. We would like to automate this in the future.