Difference between revisions of "Portail pour gestionnaire de taches"

From air
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
* Mise à jour version du framework react-admin '''on utilisera la [https://github.com/marmelab/react-admin/tree/v4.0.0-alpha.1 version 4.0.0 alpha 1]'''
 
* Mise à jour version du framework react-admin '''on utilisera la [https://github.com/marmelab/react-admin/tree/v4.0.0-alpha.1 version 4.0.0 alpha 1]'''
 
* Passage de [https://github.com/oar-team/oar-docker oar-docker] à [https://github.com/oar-team/oar-docker-compose oar-docker-compose] (à discuter)
 
* Passage de [https://github.com/oar-team/oar-docker oar-docker] à [https://github.com/oar-team/oar-docker-compose oar-docker-compose] (à discuter)
  +
** cf ci-après
 
* Passage à la nouvelle api (fastapi) (à discuter)
 
* Passage à la nouvelle api (fastapi) (à discuter)
 
* Usage potentiel de https://www.npmjs.com/package/ra-data-fakerest pour test/dev
 
* Usage potentiel de https://www.npmjs.com/package/ra-data-fakerest pour test/dev
Line 16: Line 17:
 
** https://github.com/dataarts/dat.gui
 
** https://github.com/dataarts/dat.gui
 
** https://editor.p5js.org/slow_izzm/sketches/rJXAyI7JV
 
** https://editor.p5js.org/slow_izzm/sketches/rJXAyI7JV
  +
* '''Indication pour l'usage de oar-docker-compose:'''
  +
- Start oar-docker-compose
  +
git clone https://github.com/oar-team/docker-compose
  +
cd oar-docker-compose/dev
  +
git clone https://github.com/oar-team/oar3
  +
# In oar-docker-compose/dev/.env_oar_provisoning.sh make sure to have the following content:
  +
# SRC is relative to the dev folder
  +
SRC=oar3
  +
docker-compose up
  +
- Install js dependencies
  +
# install yarn
  +
# on debian
  +
apt intall yarnpkg
  +
# on nix
  +
nix-shell -p yarn
  +
cd oar-dashboard && yarn install # use yarnpkg on debian
  +
- Find the frontend ip
  +
docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' dev_frontend_1
  +
172.23.0.5
  +
  +
- Change the proxy url in file `oar-dashboard/package.json` for the
  +
docker address and the port 6668 (e.g 172.23.0.5:6668).
  +
  +
- Start the dashboard. A browser should open at url localhost:3000
  +
yarn start
  +
  +
The username/password to submit job is docker/docker.
   
 
=oar-dashboard 2019 - 2020=
 
=oar-dashboard 2019 - 2020=

Latest revision as of 15:01, 24 January 2022

Objectif

Le but est de reprendre le projet Dashboard pour gestionnaire de tâches en utilisant le framwork react-admin (technologie React, Material-UI et Typescript).

oar-dashboard 2021 - 2022

- Start oar-docker-compose

   git clone https://github.com/oar-team/docker-compose
   cd oar-docker-compose/dev
   git clone https://github.com/oar-team/oar3
   # In oar-docker-compose/dev/.env_oar_provisoning.sh make sure to have the following content:
   # SRC is relative to the dev folder
   SRC=oar3
   docker-compose up

- Install js dependencies

 # install yarn
 # on debian
 apt intall yarnpkg
 # on nix
 nix-shell -p yarn
 cd oar-dashboard && yarn install # use yarnpkg on debian

- Find the frontend ip

 docker inspect -f 'Template:Range.NetworkSettings.NetworksTemplate:.IPAddressTemplate:End' dev_frontend_1
 172.23.0.5

- Change the proxy url in file `oar-dashboard/package.json` for the

 docker address and the port 6668 (e.g 172.23.0.5:6668).

- Start the dashboard. A browser should open at url localhost:3000

 yarn start

The username/password to submit job is docker/docker.

oar-dashboard 2019 - 2020

Complément sur le projet précédent

Goût pour les langages fonctionnels et environnement Linux

A noter que ce projet à aussi été poursuivi en stage par BELGUENDOUZ Sekina et DALAINE Nathan. La derniere version se trouve dans la branche 'testMAJ-global' du dépôt git. Un rapport de stage sera fourni.