A student-run organization at Binghamton University created to foster a community of individuals who solve problems through the innovative use of technology.
In addition to cloning the HackBU repository, you'll need a few things to run HackBU locally:
-
Install the necessary dependencies to build Ruby: https://github.com/rbenv/ruby-build/wiki#suggested-build-environment.
-
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.
-
Bundler - Ruby's package manager. Comes preinstalled with Ruby as
bundle
. -
Jekyll - Run the command
bundle install
in the project directory to download and install Jekyll. (Try using<-- do NOT do this!!! you will litter your system with files, if it even lets you)sudo bundle install
if you run into problems.
You can start the Jekyll server with bundle exec jekyll serve --watch
. See the Jekyll documentation for more information.
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
The contents of this repository are released under the MIT License.
Contact [email protected] with questions.