suoken / baseballhackday.github.io

The new Baseball Hack Day website

Home Page:http://www.baseballhackday.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Baseball Hack Day

Baseball Hack Day is a fun, free, friendly one-day hacking/coding/designing competition for baseball fans.

#HackBaseball

This website is built with Jekyll

It follows the thoughtbot styleguide Jekyll is a static site generator built in Ruby.

Getting Started

Node/Gulp 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

Local development, RUBY/Jekyll 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.

How to update chapter info

  • 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.

Credits

thoughtbot

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

License

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.

About

The new Baseball Hack Day website

http://www.baseballhackday.com/


Languages

Language:HTML 67.6%Language:CSS 27.4%Language:JavaScript 3.0%Language:Ruby 2.0%