This shows you the differences between two versions of the page.
— | wiki:oar3_dev_with_oar_docker [2017/02/03 11:20] (current) – created bzizou | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===Initialisation d'un environnement de dev OAR3=== | ||
+ | ==Nettoyage de l' | ||
+ | < | ||
+ | | ||
+ | | ||
+ | ... | ||
+ | | ||
+ | rm -rf .oardocker | ||
+ | </ | ||
+ | ==Creation/ | ||
+ | < | ||
+ | cd ~ | ||
+ | | ||
+ | | ||
+ | # Install de oardocker dans le virtualenv | ||
+ | cd ~/ | ||
+ | pip install . | ||
+ | # ou "pip install -e ." pour le mode " | ||
+ | </ | ||
+ | ==Install de l' | ||
+ | < | ||
+ | mkdir ~/ | ||
+ | cd ~/ | ||
+ | # ou: cd ~/ | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | ==Install de l' | ||
+ | < | ||
+ | mkdir ~/oar3-dev | ||
+ | cd ~/oar3-dev | ||
+ | ou: cd ~/oar3-dev && rm -rf .oardocker | ||
+ | | ||
+ | </ | ||
+ | |||
+ | ==Utilisation de l' | ||
+ | * Charger l' | ||
+ | < | ||
+ | | ||
+ | </ | ||
+ | |||
+ | * Lancement des containers | ||
+ | < | ||
+ | cd ~/oar3-dev | ||
+ | | ||
+ | </ | ||
+ | |||
+ | * Connexion frontend | ||
+ | < | ||
+ | | ||
+ | </ | ||
+ | |||
+ | * Arret des containers | ||
+ | < | ||
+ | | ||
+ | </ | ||
+ | |||
+ | ==Install de OAR3== | ||
+ | < | ||
+ | | ||
+ | cd / | ||
+ | pip install -e . | ||
+ | </ | ||
+ | |||
+ | ==Lancement de l'API python== | ||
+ | < | ||
+ | | ||
+ | cd / | ||
+ | | ||
+ | </ | ||
+ | |||
+ | ==Lancement des tests== | ||
+ | < | ||
+ | | ||
+ | cd / | ||
+ | make APIURI=http:// | ||
+ | '' | ||
+ | </ | ||
+ | |||
+ | ===API OAR2 / OAR3 Changelog=== | ||
+ | |||
+ | |||
+ | * api_timestamp is now only in the top structure (not repeated for each item of a list) | ||
+ | * Job keys: | ||
+ | * owner -> user | ||
+ | * queue -> queue_name | ||
+ | === Tests python=== | ||
+ | < | ||
+ | tox -e py27-memory oar tests | ||
+ | </ |