-
Notifications
You must be signed in to change notification settings - Fork 0
Contributing to lrgr.io
If you do not know the difference between forking and cloning or do not know why we use the fork + pull-request workflow, read about the fork + pull-request workflow here:
- For a quick intro read this: https://reflectoring.io/github-fork-and-pull/
- For a medium length tutorial read: https://blog.scottlowe.org/2015/01/27/using-fork-branch-git-workflow/
- For a full length tutorial read: https://help.github.com/en/articles/working-with-forks
lrgr.io is built using Jekyll, a program that takes the Markdown and HTML templates in this repo to build a nice looking site. To run Jekyll, you will need to install the Ruby programming language via the Ruby Version Manager and the github-pages
Gem (Gems are a fancy name for Ruby pacakges) via Bundler, the GitHub recommended Gem manager for Ruby. Installing the github-pages
Gem will install the Jekyll executable.
You will need Ruby to build the website locally and check your changes before you push changes to github. There are too many ways to install Ruby. If you don't know anything about Ruby install Ruby with RVM.
- Following the instructions at https://rvm.io/rvm/install to install RVM. (Follow the Basic Install instructions to install the latest stable version of RVM)
- For Ubuntu users, read this after you read the above: https://github.com/rvm/ubuntu_rvm
Follow the instructions here: https://help.github.com/en/articles/setting-up-your-github-pages-site-locally-with-jekyll.
The tl;dr version of the instructions is:
- Install Bundle which is gem (Ruby package) manager for Ruby
- Install required gems using Bundle
- Build the local Jekyll site.
Run bundle exec jekyll serve
.
Open up localhost:4000
to view the locally built site.
Now that you can build lrgr.io locally, you can make changes which ought to be commited and pushed to your own fork.
Once you are happy the changes and have checked that the site builds the way you intend to. Submit a PR to merge into lrgr:master
.
(For an example of how to do this, see PR #3).
Once you submit the PR, assign reviewers to review the changes (see the list below for recommended reviewers). Once reviewer(s) are happy with the changes, check with Max, merge and do one final check on the live site.
Since you now know how to build and edit the site, add yourself to the recommended reviewers list below.
- Max Leiserson -
mdml
- Jason Fan -
theJasonFan