Giter Site home page Giter Site logo

baudryj / api.gouv.fr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from betagouv/api.gouv.fr

0.0 2.0 0.0 5.16 MB

Liste les API disponibles au sein du gouvernement Français

Home Page: https://api.gouv.fr

License: GNU Affero General Public License v3.0

HTML 58.22% Ruby 1.01% CSS 40.77%

api.gouv.fr's Introduction

Api.gouv.fr

Le site public listant les API au sein du Système d'Information des Services Publics Français

Public visé

  1. Administrations (Collectivités, Ministères, etc) souhaitant fournir des services aux citoyens français.
  2. Structure de droit privé (entreprise, association…) souhaitant fournir des services.
  3. Administrations proposant des données au travers d'API.

Fournisseur d'API ? Ajoute ton API !

Réutilisateurs d'API ? Ajoute ton service !

api.gouv.fr

Ce nom de domaine héberge :

  • une présentation des différentes API proposées par l'État et les administrations
  • une présentation des services utilisant des API présentées

Installation locale

Il est nécessaire de récupérer les sources avec la commande :

git clone https://github.com/sgmap/api.gouv.fr.git
cd api.gouv.fr

Il existe ensuite deux manières de lancer le site sur sa machine :

  • Il est possible d'utiliser Jekyll directement
  • Il est possible d'utiliser Docker

Ces deux méthodes sont indépendantes et détaillées ci-dessous.

jekyll

Le site utilise Jekyll, un générateur de site statique en Ruby.

Dépendances

  • Ruby. Il est recommandé d'utiliser un système de virtualisation comme RVM ou RbEnv. La version à utiliser est : 2.2.3
  • la gem github-pages qui contient jekyll ainsi que les plugins sont disponibles sur github : gem install github-pages -v 2.4.8

Commandes

  • jekyll serve pour lancer un serveur de développement. Il suffit de se rendre sur l'URL indiquée
  • jekyll build pour générer le site dans le répertoire _site

Docker

Dépendances

Commandes

  • docker-compose up, Il suffit de se rendre sur l'URL indiquée

Déploiement

Pour déployer ce site, il suffit de pousser les modifications vers la branche gh-pages sur github.com/sgmap/api.gouv.fr. Cette branche étant protégée, il convient de faire des pull requests car le projet utilise github flow.

api.gouv.fr's People

Contributors

benoitr avatar bigb06 avatar flightan avatar glazzara avatar jdesboeufs avatar laem avatar maelreboux avatar mattisg avatar patama avatar teleboas avatar thibautgery avatar xjuli1 avatar

Watchers

 avatar  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.