GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - previsecours/vueJS_Previsecours: PreviSecours front app

BranchesTags
Open more actions menu

Latest commit

 

History

150 Commits
150 Commits

Folders and files

NameName
Last commit message
Last commit date
build
build
 
 
config
config
 
 
dist
dist
 
 
src
src
 
 
static
static
 
 
.babelrc
.babelrc
 
 
.editorconfig
.editorconfig
 
 
.eslintignore
.eslintignore
 
 
.eslintrc.js
.eslintrc.js
 
 
.gitignore
.gitignore
 
 
.postcssrc.js
.postcssrc.js
 
 
README.md
README.md
 
 
index.html
index.html
 
 
nginx.build.conf
nginx.build.conf
 
 
nginx.local.conf
nginx.local.conf
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

vuejs_previsecours

Ce projet permet d’explorer sur une carte les interventions SDIS passées, et les predictions d'interventions générées par la team Prévisecours.

De nombreux filtres et représentations permettent d’explorer plusieurs situations.

Il a pour vocation à être un outil opérationnel pour les pompiers du SDIS 91 afin de les aider à mieux comprendre et anticiper les interventions.

Contexte de développement

Ce projet a initialement été développé par Tiphaine Phe-Neau et Guillaume Lancrenon dans le cadre du programme Entrepreneurs d’Intérêt Général 2018.

Il est porté par le datalab du ministère de l’Intérieur Francais.

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
# port can be changed in webpack.config.js , devServer section
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

Fill the ES database with some dataset

curl -s -H "Content-Type: application/x-ndjson" -XPOST localhost:9200/_bulk --data-binary "@PATHTOFOLDER/vueJS_Previsecours/src/assets/testSet_forElasticSearch.json";

fake some data prediction so that is looks cool:

mlr --json --ojson put -S 'if(is_not_null($cla_001)){ $cla_003 = urandint(1,5); $cla_002 = urandint(1,5); $cla_001 = urandint(1,5); $cla_004 = urandint(1,5); $cla_005 = urandint(1,5); $geo_id = "&&&" . string($geo_id)  }' dummyPredictions_forElasticSearch.json > dummyPredictions_forElasticSearch2.json

ne pas oublier de suppr les &&& !!!

Pour la preparation du geojson departements avant insert en bulk: penser a remplacer les "CODE_DEPT" par "code"

Pour la preparation du geojson zones de couverture avant insert en bulk: penser a remplacer les "OBJECTID" qui vient du systeme SDIS91 par "code" et "CS_COD" en "nom"

awk '{gsub("CS_COD", "nom", $0); print}' zoneDeCouvertureGeometry_forElasticSearch.json > zoneDeCouvertureGeometry_forElasticSearch_modified.json

penser aussi a ajouter "codeDepartement":"91" dans les geometries

About

PreviSecours front app

previsecours.fr

Topics

91eig-2018entrepreneur-interet-generalpompierssdisvuevue2vuejsvuex

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.