opendata-stuttgart/codefor.de

Name: codefor.de

Owner: Open Data Stuttgart

Description: The website for Code for Germany. Includes the blog, projects list and basic info about the group.

Created: 2015-05-05 12:00:06.0

Updated: 2018-03-23 16:52:39.0

Pushed: 2018-03-23 16:52:31.0

Homepage: http://codefor.de

Size: 261094

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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:

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

Install Ruby and gem. Then get the dependencies:

 gem install bundler
ler install

You can now build the site and serve it:

ler 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
Update avatars

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

ualenv .env
ce .env/bin/activate
install pyyaml requests
on update_avatars.py
tivate

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.