Skip to content

andrewheiss/scorecarddiplomacy-org

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

🌎 Companion website for Judith Kelley's *Scorecard Diplomacy: Grading States to Influence their Reputation and Behavior*

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published