Skip to content

hackbinghamton/hackbinghamton.github.io

Repository files navigation

HackBU

A student-run organization at Binghamton University created to foster a community of individuals who solve problems through the innovative use of technology.

Install

In addition to cloning the HackBU repository, you'll need a few things to run HackBU locally:

  1. Install the necessary dependencies to build Ruby: https://github.com/rbenv/ruby-build/wiki#suggested-build-environment.

  2. Ruby - Ruby is a programming language powering our build tools. Ideally you should install the version in .ruby-version. On *nix, you can use asdf to manage Ruby versions:

    $ asdf plugin add ruby https://github.com/asdf-vm/asdf-ruby.git
    # From the project repo:
    $ echo "legacy_version_file = yes" > ~/.asdfrc
    $ asdf install
    

    This will build Ruby and cause your fans to ramp up, so maybe don't do this in class.

  3. Bundler - Ruby's package manager. Comes preinstalled with Ruby as bundle.

  4. Jekyll - Run the command bundle install in the project directory to download and install Jekyll. (Try using sudo bundle install if you run into problems. <-- do NOT do this!!! you will litter your system with files, if it even lets you)

You can start the Jekyll server with bundle exec jekyll serve --watch. See the Jekyll documentation for more information.

Contributing

Making a change to the website? Fork the repository (if you're not HackBU staff) and submit a pull request through GitHub!

A HackBU staff member will review the pull request, leave comments, and decide whether or not to merge.

Producing thumbnails for the photo galleries:

$ magick mogrify -resize 300x300^ -gravity Center -extent 300x300  -path $PATH_TO_THUMB_DIR *.jpg

License

The contents of this repository are released under the MIT License.

Contact [email protected] with questions.