Code Monkey home page Code Monkey logo

2013.archiv.codefor.de's Introduction

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 -r requirements.txt
python update_avatars.py
deactivate

License

Source Code: MIT

Blog Posts and Other Content: Creative Commons BY 3.0 DE

2013.archiv.codefor.de's People

Contributors

ahzf avatar arduina avatar cknebel avatar drewrwilson avatar felixebert avatar ironjan avatar jfilter avatar jochenklar avatar johnjohndoe avatar juliakloiber avatar k-nut avatar kawie avatar keimlink avatar konstin avatar lundelius avatar magdan avatar marcel12bell avatar marhai avatar mattfullerton avatar metawops avatar michael-k avatar milafrerichs avatar morrisjobke avatar odadev avatar profemo avatar soniaskhan avatar stefangrotz avatar stefanw avatar symptog avatar tursics avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

2013.archiv.codefor.de's Issues

assets/blog/muenchen

Bitte den Ordner assets/blog/muenchen anlegen.

Oder mir kurz sagen, wie das geht, konnte nichts finden, bin aber auch neu als aktiver github User. :-)

Danke,
Marcus

Reflect actual project status

Afaik all projects are tagged with In progress ... which is misleading for visitors or even members of the labs. Finished projects such as the Tempelhofer Feld should be marked as finished and projects without active members should tell about what they are searching for such as developers, ...

Another option would be to display the latest activity of the project on GitHub such as: latest commit: 2 days ago or similar.

multilingual content

i would like to help with making it possible to besides publishing content in german also to have english version. IMO in software world english language acts as Lingua franca

Rendering der Blogübersicht falsch

Es werden keine einzelnen Absätze erstellt, sondern ein durchgehender Textblock. Deswegen musst ich in dem Blogpost von Chemnitz <br \> einfügen, um Absätze zu bekommen (mit <p> hat es in der Übersicht keine Links gerendert)

Siehe http://codefor.de/blog/

Sort "Termine" by date

Right now the events are unsorted/displayed as specified in https://github.com/okfde/codefor.de/blob/gh-pages/_data/events.yml. This leads to confusing arrangement of events, see screenshot.

Unfortunately this issue cannot be solved by the "standard" sorting way and would need some adaptions to the event-model.

  • day-nr and month should be merged into a yyyy-mm-dd formatted date
  • The events.html needs to be adapted to use this date format by
    • splitting the date into $d, $m, $y
    • and construction month from $m and $y using a lookup table for "month names"

Is this wanted? Will someone take over this issue?

I could start working on it myself but that would take some time ;)

default

Avatar Download

das Pythonscript mag es nicht, wenn da ein Member keinen Namen hat. Vielleicht kann man das ja abfangen.

DEBUG:root:Processing Lab giessen/index.html
DEBUG:root:Processing Lab Member None
DEBUG:root:Checking github for None
Traceback (most recent call last):
File "download_avatars.py", line 55, in
main()
File "download_avatars.py", line 45, in main
image_url = get_image(username)
File "download_avatars.py", line 14, in get_github
response = requests.get('https://api.github.com/users/' + username)
TypeError: cannot concatenate 'str' and 'NoneType' objects

Restructure HTML source

The HTML and CSS classes are a mess:

  • Most pages do not have any H1-Tags, but H2 and H3 as first headline. The oklabs-Page for example has none at all.
  • Bootstrap's structure is often violated. Bootlint may help to check the errors.
    • There is no common theme defining the usage of the Bootstrap grid system
    • Why do we only use 10 of 12 columns? (+1 offset)
    • Sometimes jumbotrons are used, but under which conditions?
  • There are many useless divs
  • How about a sitemap?
  • IMHO the padding is too damn high, I scrolled to death :-(

Blog pagination is enerving.

I'd like to get a quick overview about the last blog posts, without having to click, scroll, click, scroll and so forth.

Events of all cities on front page

The upcoming events of all cities should be displayed on the front page. This will make it easier to see what is going on in all the OK Labs.

Scrolling unterhalb der Karte auf Smartphone nur schwer möglich

Mir ist vorhins aufgefallen, dass man nicht unterhalb der Karte kommt, wenn man mit dem Smartphone browst. Man kann nicht weiterscrollen, weil man in der Karte scrollt und zurück geht auch nicht, weil die Karte den ganzen Bildschirm einnimmt.

Wenn man schnell scrollt und die Karte überscrollt wird, geht es.

Advertise new projects

New projects are added to the cities at random times. Visitors of the website have a hard time noticing them. One could navigate to /projekte/alle/ and scroll to the end of the page to find new projects. But this requires the knowledge that the list of all projects is sorted this way. This is not obvious.

Room for improvement

  • New projects should be listed at the top of the page of all projects
  • The sorting order for the list of all projects must be made explicit
  • A list of recently added projects might make sense

tbc.

Clean the root?

It's a pain to look at the root, how about...

  1. move oklabs into an own folder? E.g. /oklabs/paderborn/index.html
  2. put all Pages into an subfolder? Maybe altering it from /pagename/index.html to /pages/pagename.html
  3. move the Apple icons into a subfolder of img?
  4. put all assets together? E.g. /assets/css/... and /assets/img/...

Replace gMaps with OSM

Ahoj,
how about replacing the proprietary Google Maps with OpenStreetMaps? Open Knowledge, free software and so on...

"Rückblick 2014" aus Header entfernen.

Jetzt ist schon 2016 aber im Header ist immer noch der Rückblick für 2014 verlinkt.

Ich finde, dass das ein bisschen unaktuell wirkt und wir es zumindest da oben entfernen sollten.

Meinungen?!

Lizenz nicht im Repository angegeben, Lizenz für Code fehlt

Im Repository ist eine Lizenz nicht angegeben. Die Datei LICENSE.md im obersten Verzeichnis des Repositories ist die vom HTML5 Boilerplate. Das liegt daran, dass die Dateien des HTML5 Boilerplate einfach in das oberste Verzeichnis des Repositories abgekippt wurden. In der Datei impressum.html steht, dass die Inhalte der Seite unter einer Creative Commons CC by 4.0 Lizenz stehen.

Daraus ergeben sich verschiedene Probleme:

  1. Alle Dateien einfach im obersten Verzeichnis des Repositories "abzukippen" macht es unübersichtlich und führt zu Problemen mit Lizenzen von Third-Party-Software, wie z.B. HTML5 Boilerplate. Die Dateien für die Site sollten also in ein Unterverzeichnis verschoben werden.
  2. Die Lizenz für die Inhalte ist nur in impressum.html zu finden. Diese sollte aber auch mindestens in der README.md angegeben sein.
  3. Es gibt keine Lizenz für den Code. Eine Creative Commons ist nicht gut für Code geeignet. Hier wäre eine Lizenz zu wählen, die mit denen der eingesetzen Third-Party-Software kompatibel ist.

Karte: Klick auf Label vs Pin (Gmap -> OSM Migration)

Auf der Karte ist es möglich, sowohl per Klick auf das Label als auch den Pin zum entsprechenden OK Lab zu gelangen. Komisch wird's aber an den Stellen, wo sich Labels und Pins überschneiden: Die Labels überlagern zwar die Pins, dennoch führt einen ein Klick auf den Überschneidungsbereich auf das Ziel des Pins. Bsp Label OK Lab Ulm, wo der Pin für München drunter liegt.

Oehm, ist das Problem klar geworden? ^^

Typo im Code of Conduct

http://codefor.de/code-of-conduct/

Fehlerhaft:
Die Projektleitung von Code for Germany sollte informiert und einbezogen werden, um die ähnliche Konflikte in Zukunft besser lösen zu können.

Korrekt:

Die Projektleitung von Code for Germany sollte informiert und einbezogen werden, um ähnliche Konflikte in Zukunft besser lösen zu können.

(ein "die" ist zu viel).

Stories translation to EN

hey, the content is ready and i just wanted to quickly check back about how to implement this. @jochenklar, @juliakloiber told me you worked on the multilang so far. do you have some pointers on how to approach the stories ? currently it's a collection. i am thinking of setting up a new collection _storiesEN that renders to en/stories/ . do you think this will work or should the stories be moved to categorized pages ? thanks for your pointers
@flapperleenie

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.