Keine Beschreibung
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

__init__.py 1.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #-*- coding: utf-8 -*-
  2. dyncode = None
  3. ##@page lodel2_start Lodel2 boot mechanism
  4. #
  5. # @par Lodel2 boot sequence
  6. # see @ref install/loader.py
  7. # 1. lodel package is imported
  8. # 2. settings are started
  9. # 3. plugins are pre-loaded from conf to load plugins configuration specs
  10. # 4. settings are loaded from conf and checked
  11. # 3. plugins are loaded (hooks are registered etc)
  12. # 4. "lodel2_bootstraped" hooks are called
  13. # 5. "lodel2_loader_main" hooks are called (if runned from loader.py as main executable)
  14. #
  15. ##@page lodel2_instance_admin Lodel2 instance administration
  16. #
  17. #@section lodel2_instance_adm_tools Tools
  18. #
  19. #@subsection lodel2_instance_makefile Makefile
  20. #
  21. #The Makefile allows to run automated without arguments such as :
  22. #- refresh the dynamic code using conf + EM (target **dyncode**)
  23. #- update databases (target **init_db**)
  24. #- refresh plugins list (target **refresh_plugins**)
  25. #
  26. #@subsection lodel2_instance_adm_scripts lodel_admin.py scripts
  27. #
  28. #In all instances you find a symlink named lodel_admin.py . This script
  29. #contains the code run by @ref lodel2_instance_makefile "Makefile targets"
  30. #and a main function that allows to run it as a CLI script.
  31. #
  32. #@par Script help
  33. #<pre>
  34. #usage: lodel_admin.py [-h] [-L] [ACTION] [OPTIONS [OPTIONS ...]]
  35. #
  36. #Lodel2 script runner
  37. #
  38. #positional arguments:
  39. # ACTION One of the following actions : discover-plugin [...]
  40. # OPTIONS Action options. Use lodel_admin.py ACTION -h to have
  41. # help on a specific action
  42. #
  43. #optional arguments:
  44. # -h, --help show this help message and exit
  45. # -L, --list-actions List available actions
  46. #</pre>
  47. #
  48. #@par Script customization
  49. #
  50. #See @ref lodel2_script_doc "Lodel2 scripting"
  51. #
  52. #