This repository has been archived by the owner. It is now read-only.
DEPRECATED frontend of media.ccc.de
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
content
images
layouts
lib
static
.gitignore
Gemfile
Gemfile.lock
Guardfile
Makefile
README.md
Rules
config.rb
nanoc.yaml.example
settings.json
testdata.sql.gz

README.md

media-frontend

media.ccc.de webfrontend

Install

Ruby Version

ruby 2.1

Instructions

The logo filter requires graphicmagic

aptitude install graphicsmagick

Install required ruby packages with bundler:

gem install bundler
bundle install

Create config file

cp nanoc.yaml.example nanoc.yaml

Database Creation

Import a database dump

zcat testdata.sql.gz | sqlite3 development.sqlite3

Nanoc

Nanoc is a static site generator

Compile static pages

nanoc compile

Start a webserver to view pages in a browser

nanoc view

Watch output directory for changes

guard

JRuby

export JRUBY_OPTS="--2.0 -J-Xmn512m -J-Xms2048m -J-Xmx2048m -J-server"

~/.jrubyrc

compat.version=2.0