Code Monkey home page Code Monkey logo

gehlenborglab-website's Introduction

gehlenborglab-website Build Status

Looking for website updating instructions?

(Need to set up your own Jekyll/S3 site? See generate-static-site.)

The HIDIVE Lab website uses Jekyll plugins beyond those supported by GitHub Pages. Instead, when the main branch is updated, Github Actions builds _site and pushes it to the appropriate S3 bucket. You will need to need to have a working, up-to-date ruby environment.

Install rvm [https://rvm.io/rvm/install]. RVM should load or prompt for installation of the ruby version in .ruby_version on entry to the project folder.

With Ruby fixed, then:

$ gem install bundler
$ bundle install
$ npm install
$ jekyll serve &

When Jekyll is watching the filesystem, it won't run post-processing hooks that generate thumbnails. You can do this manually:

brew install imagemagick
./post-build.sh

Workflow

For smaller edits, you can just use the editor on the github site, though it's still a good idea to save the edit to a branch.

For larger edits, check out this repo locally. Our convention for branch names is username/description, so it's easy to tell whose contribution it is. Run jekyll locally to get a preview of the site.

Troubleshooting

If using OS X >=10.12 you may run into errors installing nokogiri with the bundle install step. This workaround should do the trick:

sudo gem install nokogiri -v '1.6.8.1' -- --with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libxml2 --use-system-libraries

gehlenborglab-website's People

Contributors

ngehlenborg avatar mccalluc avatar sehilyi avatar lchoy avatar john-conroy avatar scottx611x avatar manzt avatar daniellenguyen avatar keller-mark avatar ldubya avatar samson920 avatar wangqianwen0418 avatar pkerpedjiev avatar thharbig avatar thomcsmits avatar ilan-gold avatar astridvandenbrandt avatar tsliaw avatar sabrinanusrat avatar ericmoerthvis avatar huyen-nguyen avatar undinag avatar sofiarojasz avatar siyoung-kim avatar poe4 avatar aditpandey3090 avatar roselkisma avatar katrina-liu avatar kluthr1 avatar jkmarx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.