This repository contains the source code for the new PISM website.
The Jekyll theme was originally forked from the Bulma Clean Theme created by C.S. Rhymes.
We use several Python and Ruby tools to build this website:
pybtexto parse BibTeX files listing publications using PISMmatplotlibto plot the bar graph of the number of PISM publications per year (this also uses the Humor Sans font)foliumto generate the map of PISM users
Run something like
pip3 install pybtex matplotlib folium
to install these.
All the Ruby dependencies (too many to list) can be installed by running
bundle install
All the common tasks are managed by the Makefile.
Run
make buildto build the websitemake serveto build the website and start the server to view resultsmake check-linksto build the website and check internal linksmake check-external-linksto build the website and check all links (including external ones)make installto install Ruby dependenciesmake -C dockerto build the Docker image used to build the website on CircleCI
The list of PISM applications, the bar graph showing the number of publications per year, and the map of PISM users are generated using Python scripts.
See publications/list_references.py and
publications/plot_references.py for the code responsible for
processing publications.
Edit
publications/applications.bibto add more PISM papers.
See usersmap/create_map.py for the code generating the map of PISM
users.
Edit usersmap/pism_users.csv to add more PISM users.
Note that files generated by these scripts should not be added to the repository.