Jekyll repo for Stanford Computational Journalism Lab
JavaScript CSS HTML Ruby
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.
_assets new version of ruby Jul 17, 2018
_data just showing stuff Jul 17, 2018
_includes
_layouts
_plugins
_posts
_projects
assets 404 Sep 28, 2015
exploring-computational-journalism ok Sep 13, 2017
files
pages new version of ruby Jul 17, 2018
.gitignore new version of ruby Jul 17, 2018
.java-version new version of ruby Jul 17, 2018
404.md g search Oct 5, 2015
Gemfile
README.md new version of ruby Jul 17, 2018
Rakefile new version of ruby Jul 17, 2018
_config.yml new version of ruby Jul 17, 2018
_dev-resources.md stuff Jul 17, 2018
about.html
community.html journalism community page Dec 4, 2015
contact.html section updates Sep 27, 2016
democracys-detectives-jay-hamilton.html stuff Jul 17, 2018
events.html testing banner backgroudns Aug 25, 2015
feed.xml banner layout and projects Aug 11, 2015
index.html another Jul 17, 2018
initiatives.html
news.html fixed image Sep 30, 2015
robots.txt robo Oct 5, 2015
tech-team-report.html added names Sep 8, 2016

README.md

CompJoLab

How to deploy

The Rakefile has a task defined. Run this at the command prompt:

  $ rake shoop

Here's a list of resources for developing with Jekyll and Github pages. You can view its Github file page here: dev-resources.md.

The rest of this pertains to how to get Jekyll running on your own system:

Developer startup

0. To copy the source of this repo:

(this works if you are an owner/member of the repo and have SSH access to it)

git clone git@github.com:compjolab/compjolab.github.io.git

1. Have Ruby installed

In the shell, check your version:

ruby -v

A version of 2.3 or higher should be fine.

2. Install the Jekyll gem

gem install jekyll

3. Install JDK 8.x

Unfortunately, the s3-website gem only works with JDK 8. It may be easiest to install jenv and run v8 for this project only:

https://github.com/laurilehmijoki/s3_website/issues/298#issuecomment-372244500

You can also download Java 8 SDK here:

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

At some point, might be easier to write a script that just rsyncs with the bucket.