GithubHelp home page GithubHelp logo

nicopennec / breizhcamp-website Goto Github PK

View Code? Open in Web Editor NEW

This project forked from breizhcamp/website

0.0 0.0 0.0 32.5 MB

Source du site Web du BreizhCamp

Shell 0.17% JavaScript 63.72% Groovy 0.04% CSS 31.98% HTML 3.98% jq 0.11%

breizhcamp-website's Introduction

Site Web BreizhCamp

Ce site Web est généré avec Hugo, A Fast and Modern Static Website Engine. La rapidité de génération est une des raisons du choix de cet excellent outil. Ce site est généré en quelques dizaines de millisecondes!

La majorité des contenus est écrit en Markdown ou sous forme de fichiers structurés YAML. Il est facile d'y contribuer directement depuis l'interface de GitHub.

Amis du BreizhCamp, n'hésitez pas à proposer des PR si vous voulez améliorer ce site!

Développement

A la racine se trouve un wrapper pour lancer Hugo, qui se chargera de télécharger le binaire Hugo s'il n'est pas disponible. Pour lancer localement le site:

./hugow -w serve

puis accéder à http://localhost:1313. Hugo activera le rechargement automatique des pages modifiées. Etant donné la vitesse de génération, les modifications effectuées dans les sources sont visibles en quasi-temps réel dans le navigateur Web.

Passage à une nouvelle édition du breizhcamp

Voir la documentation sur le wiki du BreizhCamp

Mise à jours des données

Liste des speakers

  1. Dans le fichier bin/getSpeakers.groovy, remplacer __TODO_TOKEN__ par votre token d'authentification. NE FAITES PAS UN COMMIT DE CE FICHIER AVEC VOTRE TOCKEN DEDANS !
  2. Lancer le script bin/update-json-speakers.sh
  3. Faire un commit du fichier data/speakers.json

Le fichier static/json/speakers_others.json est réservé aux speakers "hors-CFP" (Keynotes...)

Liste des talks du programme

Si vous utilisez la méthode de récupération static pour récupérer les talks du programme, il faut mettre à jour le fichier static/json/talks.json :

  1. Lancer le script bin/update-json-talks.sh
  2. Faire un commit du fichier static/json/talks.json

Le fichier static/json/talks_others.json est réservé aux talks "hors-CFP" (Meet'n Greet, Keynotes...)

Actions classiques

Ouverture/Fermeture du CFP

  1. Fichier config.toml : Ajouter/décommenter/commenter l'item de menu (bandeau) avec icône ouvert/fermé et l'URL du CFP
    [[params.menu]]
        name = "CFP"
        url  = "https://sessionize.com/breizhcamp-2022/"
        target = "_blank"
        image= "/img/cfp-icon-64.png"
        label= '<span class="label label-success">Ouvert</span>'
    #    label= '<i class="note fa fa-times-circle text-muted" title="Clos"></i>'
        weight = 1
  2. Fichier content/conference/cfp.md, mettre à jour l'URL du CFP

Ouverture/Fermeture de la billeterie

  1. Fichier config.toml : Ajouter/décommenter/commenter l'item de menu (bandeau) avec icône ouvert/fermé et l'URL du CFP
    [[params.menu]]
        name = "Billets"
        url  = "https://docs.google.com/forms/d/e/1FAIpQLSc3CbFbwKtGOCX7tbU4pXPg6LOOEB9xbp5LCpgfVlNiqFy8hg/viewform"
        target = "_blank"
        label= '<i class="note fa fa-check-circle text-success" title="Billetterie avec tirage au sort : inscriptions ouvertes"></i>'
        #    label= '<i class="note fa fa-times-circle text-muted" title="Billetterie avec tirage au sort : inscriptions closes"></i>'
        weight = 1
  2. Fichier content/faq/_index.md, mettre à jour l'URL et les dates d'ouvertures du tirage au sort billeterie
    # Comment acheter un billet ?
    
    ...
    Si vous êtes intéressé pour venir au BreizhCamp cette année, inscrivez-vous au tirage au sort via
    [ce formulaire](https://docs.google.com/forms/d/e/1FAIpQLSc3CbFbwKtGOCX7tbU4pXPg6LOOEB9xbp5LCpgfVlNiqFy8hg/viewform)
    avant le **31 mai minuit**.

Configuration

Récupération des talks pour le programme

Fichier config.toml, section params.breizhcamp, paramètre programme_get_talks_method :

  • "cfp_api" : récupération via l'API du CFP
  • "static" : récupération via le fichier static/json/talks.json (pensez à mettre à jour ce fichier !)

Récupération des speakers

Fichier config.toml, section params.breizhcamp, paramètre programme_get_speakers_method :

  • "cfp_api" : récupération via l'API du CFP
  • "static" : récupération via le fichier static/json/speakers.json (pensez à mettre à jour ce fichier !)

Organisation des branches

Ce dépot possède 2 branches, staging et production. La branche production doit être alimentée par des merges depuis la branche staging.

Déploiement

Netlify permet de déployer automatiquement les branches principales de ce dépôt:

Dévelopment Web et Hugo

Quelques liens pour les non professionels du CSS et de Hugo

breizhcamp-website's People

Contributors

rikles avatar ydubreuil avatar ndeloof avatar alexthomazo avatar jljouannic avatar pascallemerrer avatar gcollic avatar marcaudefroy avatar srevereault avatar procalah avatar lucsorel avatar stranchand avatar nledez avatar lhuet avatar eheb avatar adrienpessu2 avatar fgribreau avatar mmouterde avatar yoanngrange avatar pyaillet avatar sebbrousse avatar sleray avatar slecache avatar baloche avatar vogloblinsky avatar y0an avatar akhesacaro avatar ddeloof avatar dwursteisen avatar gsalaun1 avatar

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.