Git Product home page Git Product logo

socialgouv's Introduction

www.fabrique.social.gouv.fr

Site de la fabrique numérique des Ministères sociaux

Editer le site

Faire les changements directement sur GitHub ou sur une branche locale, et soumettre une pull request :)

Ajouter son profil :

Editer members.yml et ajouter votre photo :)

Ajouter une startup :

📝 ajouter la startup dans src/data/startups.yml

📝 ajouter la fiche produit dans pages/startups/startup.mdx. Copier le fichier work-in-france.mdx par exemple.

Ajouter une brève :

📝 éditer src/data/news.yml

Les données des startups et members sont dans ./src/data

Modifier/Créer un article :

  • éditer/ajouter des pages dans ./pages
  • placer les éventuelles images dans ./static/images et les référencer en tant que /static/images/xxxx.jpg.
  • référencer l'article dans une news dans ./src/data/news.yml si nécessaire.

Les fichiers peuvent être au format .js ou .mdx (prendre exemple sur les fichiers actuels)

Exemple MDX : ./pages/startups/work-in-france.mdx

Pour trouver des images 📷 : https://unsplash.com

Dev

Le site est statique et généré avec next.js

git clone
yarn
yarn dev

yarn build pour builder une version statique

Les modifs sur la branche master sont automatiquement déployées sur https://fabrique.social.gouv.fr

A propos

Template basé sur template.data.gouv.fr

Synchro beta.gouv

Pour synchroniser le contenu depuis beta.gouv, lancer la commande yarn beta-sync et commiter le résultat.

Les produits doivent être définis dans ./data/startups.yml et comporter un identifiant betaId si différent

socialgouv's People

Contributors

achauve avatar adipasquale avatar alezco avatar augustin82 avatar cberthou avatar chewam avatar clementnumericite avatar dependabot[bot] avatar devthejo avatar douglasduteil avatar erceaufloriane avatar eric-hei avatar gary-van-woerkens avatar jeremiecook avatar jrduscher avatar maximebasset avatar nabellaleen avatar pom421 avatar pyassine avatar renovate-bot avatar renovate[bot] avatar revolunet avatar semantic-release-bot avatar siegridhenry avatar socialgroovybot avatar taloud avatar tglatt avatar toub avatar unbearablebear avatar yfmadaule 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.