Giter Site home page Giter Site logo

frederickgrobost / entreprise.data.gouv.fr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thimy/sirene_as_api_front

0.0 0.0 0.0 5.64 MB

Front-end pour les API open-data, notamment Sirene et RNA

Home Page: https://entreprise.data.gouv.fr/

License: MIT License

JavaScript 32.18% HTML 2.84% Vue 63.04% CSS 1.04% Ruby 0.90%

entreprise.data.gouv.fr's Introduction

entreprise.data.gouv.fr

Ce site est disponible en ligne : Entreprise.data.gouv.fr

Dans le cadre du SPD, (Service Public de la Donnée), certains jeux de données dont les fichiers SIRENE et RNA sont devenus publics.

Le site entreprise.data.gouv.fr a pour vocation de mettre à disposition des citoyens les données ouvertes "Open-data".

Exécution en local

Entreprise.data.gouv.fr est développé avec Node lts.

# Installation
npm install

# Aprés avoir lancé le front-end avec la commande
npm run dev

# Lancer le back-end : dans le dossier sirene_as_api / rna_as_api, exécuter :
rails s

# Lancer le serveur SOLR :
rake sunspot:solr:start

Dev

# Lancer les tests
npm run test

# Construire pour la production
npm run build:production

# Linter
npm run lint

# Linter avec fix auto
npm run lint-fix

Tests

# Tests unitaires
npm run test:unit

# Mise à jour des snapshots
npm run test:unit -- -u

# Tests end2end environnement dev
npm run test:e2e

# Tests end2end environnement sandbox
npm run test:e2e:sandbox

# Tests end2end environnement production
npm run test:e2e:production

Attention, les tests end2end avec nightwatch peuvent être capricieux, par exemple selon la taille de la fenêtre disponible pour le navigateur de test. Les tests d'une branche (develop/dev) peuvent ne pas fonctionner sur une autre (master/production).

Ces tests étant end2end, vous avez besoin des applications backend ET frontend fonctionnelles sur localhost si vous désirez tester en développement.

Déploiement

Un script Mina (et un Rakefile) est disponible pour déployer automatiquement sur l'infra entreprise.data.gouv.fr :

# sur un seul serveur
bundle exec mina deploy domain=url.du.serveur to=sandbox

# sur les deux serveurs
bundle exec rake deploy to=production

Par défaut to est à sandbox.

Licence

Ce projet est sous license MIT

entreprise.data.gouv.fr's People

Contributors

samuelfaure avatar haelle avatar brindu avatar bzg avatar jdesboeufs avatar ronnix 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.