🌎 Companion website for Judith Kelley's *Scorecard Diplomacy: Grading States to Influence their Reputation and Behavior*
JavaScript HTML CSS Python Makefile Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
content
theme
.gitignore
LICENSE
Makefile
README.md
develop_server.sh
fabfile.py
pelicanconf.py
publishconf.py
requirements.txt

README.md

scorecarddiplomacy.org

This repository contains the code for generating scorecarddiplomacy.org, the companion website to Judith Kelley's Scorecard Diplomacy: Grading States to Influence their Reputation and Behavior.

Pelican

The site is generated with Pelican, a static site generator written in Python. It's easiest to run with a virtual environment:

cd path-to-this-directory
virtualenv -p python3 pelican
source pelican/bin/activate
pip3 install -r requirements.txt

Once the virtual environment is running, you can use the Makefile to generate the site. Here are the most common options:

  • make devserver: Generate the site and serve locally at http://localhost:8000
  • make html: Generate the site without serving it
  • make rsync_upload: Generate the site and upload it to a remote server via ssh and rsync. Configure the server destination in the Makefile

To stop the virtual environment, run deactivate. To restart it, run source pelican/bin/activate from this directory.