Skip to content

gravelLab/gravellab.github.io

 
 

Repository files navigation

The webpage for the Gravel Lab at Mcgill University

Instructions for Lab Members

To make edits to this page, ie. adding a biography or publications, follow these instructions:

  1. From this repository, click Fork in the top right corner.
  2. Clone your fork to your local machine using the command 'git clone'
  3. Make your desired changes.
  4. Optionally, run your site locally to view your changes.
  5. Commit your changes with 'git commit', then push your changes with 'git push'.
  6. If you did not run your site locally, run it from github and view your changes there.
  7. From this repository, click on 'Pull Requests', then 'New Pull Request'.
  8. Click 'compare across forks', then choose your repository as the head repository. Then click 'Create pull request'.

Running the site locally

  1. Install ruby-dev (https://www.ruby-lang.org/en/documentation/installation/), ruby-gem (https://rubygems.org/pages/download), and nodejs (https://nodejs.org/en/download)
  2. Open a terminal in your repository's location, and run 'bundle install' and 'bundle exec jekyll serve'.
  3. Open 'localhost:4000' in your browser.

Known issues

"ERROR: While executing gem ... (Gem::FilePermissionError)": on macOS, reinstall ruby using these instructions:
(https://www.moncefbelyamani.com/the-definitive-guide-to-installing-ruby-gems-on-a-mac/)

"bundler: failed to load command: jekyll"; run "bundle add webrick" or change your Ruby version to 2.7
"Error: No source of timezone data could be found.": add a line "gem 'tzinfo-data'" to the Gemfile.
"cannot load such file -- webrick (LoadError)": add a line "gem 'webrick'" to the Gemfile.
If you make any changes to the Gemfile, make sure to run 'bundle install' again before attempting to run the site.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 38.7%
  • HTML 22.9%
  • SCSS 19.4%
  • Jupyter Notebook 11.7%
  • Python 4.5%
  • CSS 2.6%
  • Ruby 0.2%