No description
Find a file
2015-10-16 19:02:38 +02:00
content Fixed github url 2015-03-03 11:03:04 +01:00
images logo: added logo "wie werden kriege 'gemacht'" 2015-10-16 19:02:38 +02:00
layouts links: next try to avoid non protocol relative links 2015-06-09 21:15:01 +02:00
lib magnet_link_provider: fixup protocol-relative URLs 2015-06-15 14:12:08 +02:00
static links: next try to avoid non protocol relative links 2015-06-09 21:15:01 +02:00
.gitignore Ignored sass cache folder 2014-05-27 13:03:04 +02:00
config.rb add compass and sass 2014-05-03 15:11:40 +02:00
Gemfile use full text cache for feeds 2014-11-29 17:40:18 +01:00
Gemfile.lock use full text cache for feeds 2014-11-29 17:40:18 +01:00
Guardfile update haml files with content 2014-05-03 15:11:40 +02:00
Makefile update makefile 2015-04-14 15:25:47 +02:00
nanoc.yaml.example add sitemap xml example config 2015-01-03 23:12:48 +01:00
README.md add note about graphicsmagic to readme 2015-01-04 00:47:38 +01:00
Rules add oembed page for iframes 2015-01-02 23:27:28 +01:00
settings.json typo: fixed typo in cdnURL 2015-09-16 13:43:35 +02:00
testdata.sql.gz update testdata 2015-01-04 00:00:00 +01:00

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