Commit e0bd046a51d6ba7282cc6826c5b481cf37a78915

Authored by Etienne Pallier
1 parent 6dc593da
Exists in dev

- Ajouté 2 HOWTO (pour test et run) à la racine du projet

Showing 3 changed files with 64 additions and 7 deletions   Show diff stats
HOWTO_RUN.txt 0 → 100644
@@ -0,0 +1,42 @@ @@ -0,0 +1,42 @@
  1 +
  2 +
  3 +*******************************
  4 + Here is how you can RUN pyros
  5 +*******************************
  6 +
  7 +-------------------------------------------
  8 +(A) Command-line running (no web interface):
  9 +-------------------------------------------
  10 +
  11 +(1) Running pyros interactively:
  12 +$ [python] ./pyros.py shell
  13 +
  14 +(2) Launching an agent:
  15 +$ [python] ./pyros.py start <agent-name>
  16 +=> Ex: to start the env-monitoring agent:
  17 +$ [python] ./pyros.py start monitoring
  18 +=> Ex: to start agentA:
  19 +$ [python] ./pyros.py start agentA
  20 +
  21 +(3) Launching many agents:
  22 +$ [python] ./pyros.py start <agent1-name>,<agent2-name>,.
  23 +=> Ex: start agentA and agentB
  24 +$ [python] ./pyros.py start agentA,agentB
  25 +=> You could also start ALL agents at once:
  26 +$ [python] ./pyros.py start all
  27 +
  28 +
  29 +-------------------------------------------
  30 +(B) Running with the website
  31 +-------------------------------------------
  32 +
  33 +(1) Start only the webserver (for pyros website)
  34 +$ [python] ./pyros.py start webserver
  35 +Then, connect to http://localhost:8000
  36 +You can also connect to the admin interface: http://localhost:8000/admin
  37 +(Login as 'pyros' with the password 'DjangoPyros')
  38 +
  39 +(2) Now, you can start some (or all) agents to have the website come to life !
  40 +See section (A) just above
  41 +
  42 +
0 \ No newline at end of file 43 \ No newline at end of file
HOWTO_TEST.txt 0 → 100644
@@ -0,0 +1,19 @@ @@ -0,0 +1,19 @@
  1 +
  2 +*************************************************************************************
  3 + Here is how you can TEST that pyros is working well (ensure that nothing is broken)
  4 +*************************************************************************************
  5 +
  6 +(A) Running the unit tests suite:
  7 +- (1) Some unit tests only:
  8 +./pyros.py test
  9 +- (2) All unit tests:
  10 +./pyros.py testall
  11 +
  12 +(B) Test with agents:
  13 +- (1) Test with agentA and agentB sending commands to each other:
  14 +./pyros.py -t start agentA,agentB
  15 +- (2) Test with agentTelescopeRequester sending commands to agentDevice:
  16 +./pyros.py -t start agentTelescopeRequester,agentDevice
  17 +
  18 +(C) Interactive testing:
  19 +./pyros.py shell
@@ -67,18 +67,14 @@ This software has been tested and validated with the following configurations : @@ -67,18 +67,14 @@ This software has been tested and validated with the following configurations :
67 -------------------------------------------------------------------------------------------- 67 --------------------------------------------------------------------------------------------
68 ## LAST VERSION 68 ## LAST VERSION
69 69
70 -Date: 17/06/2019 70 +Date: 18/06/2019
71 71
72 Author: E. Pallier (epallier@irap.omp.eu) 72 Author: E. Pallier (epallier@irap.omp.eu)
73 73
74 -VERSION: 0.30.9 74 +VERSION: 0.30.10
75 75
76 Comment : 76 Comment :
77 -- Restructuration du projet - phase 5b : /src/devices_controller/ => réorganisation interne 2/2 :  
78 - - create folder devices_controller/devices_controller_concrete/  
79 - - migrer le dossier devices_controller/server/ => devices_controller/devices_controller_concrete/server/  
80 - - rename server/ => device_simulator_common/  
81 -- Deplacement de tous les devices concrets dans leurs dossiers respectifs (Gemini, AK, ...) 77 +- Ajouté 2 HOWTO (pour test et run) à la racine du projet
82 78
83 79
84 RAPPELS SUR L'UTILISATION : 80 RAPPELS SUR L'UTILISATION :