Code Monkey home page Code Monkey logo

plugfr.org's Introduction

Ceci est le futur/nouveau site du PLUG

Il utilise Jekyll pour être "compilé" en un ensemble de fichiers statiques que l'on peut héberger facilement

Le contenu est importé depuis l'ancien site sous SPIP, exporté en XML via phpMyAdmin. Le fichier est dans ./script/spip_articles.xml Le script Ruby ayant servi à parser l'export XML (issu de phpMyAdmin) se trouve dans ./script/migration_plug.rb Les fichiers générés par ce script ont été passablement modifiés à la main après coup, mais il peut avoir une valeur pédagogique.

Certains contenus (images, pdf, …) ont été copiés dans le dossier ./pub pour pouvoir être reliés aux articles. Ça n'est pas exhaustif.

Pygments est utilisé pour colorer le code source. Il y a de nombreux styles CSS dans ./css/pygments, j'ai laissé celui par défaut pour le moment.


HowTo contribuer au site

  • git clone git://github.com/plug/plugfr.org.git
  • Hack … hack … commit …
  • git format-patch … à envoyer [email protected]

Note : il est possible aussi de soumettre ses modifications via une nouvelle branche Git

Si l'on est contributeur régulier, on obtiendra les droits de commit sur le repository GitHub, puis :

  • git clone [email protected]:plug/plugfr.org.git
  • Hack … hack … commit …
  • git push
  • Attendre la mise en ligne des modifications par un webmaster

Pour faciliter l'installation des librairies Ruby nécessaire à la génération du site, il est possible d'utiliser Bundler.

$ gem install bundler
$ bundle

Et en cas de version multiples, … pour être sûr d'utiliser la version spécifiée dans le Gemfile : $ bin/jekyll [options].

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.