Baseball Hack Day is a fun, free, friendly one-day hacking/coding/designing competition for baseball fans.
#HackBaseball
It follows the thoughtbot styleguide Jekyll is a static site generator built in Ruby.
If you don't have it, install node.js. Easiest way it to use Homebrew by
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
then
brew install node
and install npm and gulp globally by running
sudo npm install npm gulp -g
Run gulp to compile css from sass by simply run gulp
from your terminal within your repo.
It will launch watch by default. control-c
to stop. If you only want the css compiled once, run gulp sass
To run jekyll locally to test your website while developing, run bundle exec jekyll serve --watch
(Requires ruby *) Your website should be viewable by going to localhost:4000
Github's doc on how to use Jekyll on Github Pages is also helpful.
- You may have to run
brew install ruby
andsudo gem install bundler
thensudo bundle install
once. Mac OS X 10.11 nokogiri trouble
- Create a new branch off of master, for example, I will create a imaginary chapter in Tokyo.
git checkout master
git checkout -b tokyo-update
- You would want to copy
/new-city-template
into/tokyo
folder. This will become the url of the page (i.e. baseballhackday.com/tokyo). You want to edit the index.html. Use boston and philly as examples. - header styles are managed in
/scss/_city-show.scss
- Once the page is built, you want to link it up in
_includes/pick-your-city.html
. Links will appear on every page. - Now create a pull request against master. Then please ask to merge it. I like doing it though pull request since changes are documented and easier to revert if needed.
Proteus is maintained and funded by thoughtbot, inc
Thank you to all the contributors!
Also based on Daigo Fujiwara's https://github.com/daigofuji/jekyll-foundation-6-starter
The names and logos for thoughtbot are trademarks of thoughtbot, inc.
Proteus Jekyll is Copyright © 2014 thoughtbot, inc. It is free software, and may be redistributed under the terms specified in the LICENSE file.