The website for Code for Germany. Includes the blog, projects list and basic info about the group.
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.
_data
_digitalrefugeelabs
_includes
_labs
_layouts
_posts
_sass
_stories
_stories_en
_termine
_wahlsalons
assets
berlin
blog
bonn
chemnitz
code-of-conduct
css
digitalrefugeelabs
doc
dresden
duesseldorf
en
erlangen
fonts
frankfurt
freiburg
giessen
hamburg
hannover
heidelberg
heilbronn
img
impressum
jena
js
karlsruhe
koeln
launch
leipzig
magdeburg
mecklenburg-vorpommern
mitmachen
muenchen
muenster
niederrhein
opendataday
osnabrueck
paderborn
potsdam
presse
projekte
ressourcen
ruhrgebiet
stadtgeschichten
stuttgart
termine
ueber
ulm
wahlsalons
wuppertal
.editorconfig
.gitignore
.ruby-gemset
.ruby-version
.travis.yml
32_fav_cfg.png
404.html
64_fav_cfg.png
CNAME
Gemfile
LICENSE.md
README.md
_config.yml
apple-touch-icon-114x114.png
apple-touch-icon-120x120.png
apple-touch-icon-144x144.png
apple-touch-icon-152x152.png
apple-touch-icon-57x57.png
apple-touch-icon-60x60.png
apple-touch-icon-72x72.png
apple-touch-icon-76x76.png
apple-touch-icon.png
check_events.py
favicon.ico
feed.xml
google0cf8005b44fbe21d.html
index.html
labmap.html
largetile.png
mce-opt-in-now.html
mce-opt-in-thanks.html
mediumtile.png
mission
oklabs_geojson.html
requirements.txt
robots.txt
smalltile.png
update_avatars.py
ws-signup-thanks.html

README.md

Build Status

CodeFor.de

These are the source files for the Code for Germany Website.

Setup

You can easily do edits and preview changes on github. But if to want to preview your edits or do bigger changes, you need a local setup.

For that you first need to install git, Ruby and gem.

Then clone this repository by invoking the following in a terminal, presuming you know how to get there:

git clone https://github.com/okfde/codefor.de.git

Install Ruby and gem. Then get the dependencies:

sudo gem install bundler
bundler install

You can now build the site and serve it:

bundler exec jekyll serve

This command will give you a link where you can preview your changes in your browser. Make sure to call bundler update from time to time to keep the dependencies up to date.

Notes

  • Please use mobile friendly filesizes for images.

  • You can set a teaser for texts by defining it in the frontmatter: excerpt: "<TEXT>".

  • The teaser for an image can be set with imgname-teaser: "<[RELATIVE] PATH TO IMAGE>".

Update avatars

There's a python script to save all GitHub avatars into the repository:

virtualenv .env
source .env/bin/activate
pip install pyyaml requests
python update_avatars.py
deactivate