This repository stores the website for the Exocoffee Journal Club at STScI.
Editing the website is extremely simple. Simply edit the index.md
file --- that file contains all the info that's displayed in the website.
If you are a moderator, simply add papers and presenters in the respective columns --- and that's it! Let @nespinoza know so he can update the website.
How to update the website at www.stsci.edu/~exocoffee
First, you need to install ruby
, bundler
and jekyll
; see, e.g., this github tutorial. The easiest way to do this in MacOS is to do this via brew
using this tutorial. Once that is set, you need to update/compile this site locally following these steps:
- Clone this repository.
- Do
bundle update
. This will install/update all packages necesary to compile this site. - Do
bundle exec jekyll build
. This will create a_site
directory. You can check the website locally with that doingbundle exec jekyll build serve
and opening http://localhost:4000. - Copy the contents of the
_site
directory to/grp/webpages/exocoffee
. - That's it! You should see the site updated in https://www.stsci.edu/~exocoffee.
For ease of updating, the update.sh
script does steps 3-4 above automatically. So, if you have cloned and installed everything, updating the website should be as simple as doing .update.sh
in terminal.