Home page source code. Source lies in branch source
. Github build goes to
master
.
-
Install bundle and project dependencies
bundle install
-
Add content. See here for details.
-
Collect updates from github repositories mentioned in files.
bundle exec rake collect
Running this uses unauthenticated requests to Github's API. The limit is 60 per hour. Recommended way is to generate a personal token (https://github.com/settings/tokens) and run collect command as
env GH_TOKEN='<token-here>' bundle exec rake collect
-
Serve/build with jekyll
bundle exec jekyll serve bundle exec jekyll build
The website uses jekyll and most of the pages get their content directly using
the markdown/html template, except a few pages for which the data source is a
kept in separate files and then is injected to the template via plugins kept in
_plugins
.
- Team members data go in
_data/team.yml
- Publications go in
_data/publications.yml
- New sections for 'research' and 'teaching' page go in
_research
and_teaching
directory respectively.
Pull requests should go to source
branch (not master) since travis builds the
website from there.