GCCR / GCCR.github.io

Official GCCR Website
https://gcchemosensr.org/
MIT License
5 stars 1 forks source link

GitHub Pages build status

~ Official website of the GCCR ~

Contributing to the website

:point_right: To add new survey links, edit _data/survey-links.yml and be careful with the indentation !

For developers

  1. Setting up the environment

Start by installing Jekyll and its dependencies by following the instructions here

We recommend you to update Ruby Gems and the bundler after that:

gem update --system
bundle update --bundler
  1. Cloning the repository
    git clone https://github.com/GCCR/GCCR.github.io.git
    cd GCCR.github.io

    The master branch is used to build the website. Modifications on this branch will directly affect the website so push commits on this branch only after testing them locally.

When making big changes, you should push your commits to a new branch, then open a pull-request so that it can be reviewed by others. Once approved, your branch will be merged with the master branch which will automatically trigger an update of the website.

A few reminders about git:

  1. Running the website locally

You'll need to install a few plugins first

bundle install

You're done ! To run the server locally, type bundle exec jekyll serve and the default address should be http://localhost:4000/

I heavily suggest that you quickly go through Jekyll's tutorial to understand how Jekyll works.

  1. Organization of the repo