Aucune description
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Yann Weber 38659c6b6d Makes create_mongodb.sh and its conffile handled by autotools il y a 8 ans
doc/img Add autyhentication/session flowcharts il y a 8 ans
examples Add a new sttings validator + use it il y a 8 ans
globconf.d Add a new sttings validator + use it il y a 8 ans
install Enhancement in SLIM capabilities + bugfixes in install process il y a 8 ans
lodel webui & slim enhancement il y a 8 ans
m4 Add a forgotten (not mandatory file) il y a 8 ans
plugins webui & slim enhancement il y a 8 ans
progs Makes create_mongodb.sh and its conffile handled by autotools il y a 8 ans
scripts Bugfix in create_instance.sh and install/loader.py il y a 8 ans
tests Added tests for MultiRef datahandler and modified _check_data_value raise exception il y a 8 ans
.gitignore Updated the doxygen documentation il y a 9 ans
AUTHORS Configure autotools for distributing lodel2 il y a 8 ans
COPYING Configure autotools for distributing lodel2 il y a 8 ans
ChangeLog Configure autotools for distributing lodel2 il y a 8 ans
Doxyfile Doxygen documentation update il y a 8 ans
INSTALL Configure autotools for distributing lodel2 il y a 8 ans
Makefile.am Enhancement in SLIM capabilities + bugfixes in install process il y a 8 ans
NEWS Configure autotools for distributing lodel2 il y a 8 ans
README Makes create_mongodb.sh and its conffile handled by autotools il y a 8 ans
bootstrap.sh Configure autotools for distributing lodel2 il y a 8 ans
configure.ac Add a data to buildconf.py il y a 8 ans
em_test.py Authentification form in Webui interface il y a 8 ans
requirements.txt Updated the requirements file il y a 8 ans
runtest Add a test in runtest that asserts the projects was build il y a 8 ans

README

Dependencies :
lodel2 :
with pip : see requirements.txt
debian stable : python3 python3-lxml python3-jinja2 python3-werkzeug python3-pymongo uwsgi-plugin-python3 mongodbd
build & install :
debian stable : autoconf automake make

Build & install :
./bootstrap.sh
./configure --sysconfdir=/etc --localstatedir=/var --prefix=/usr
make
make install

Doxygen documentation generation :
dependencies: doxypy doxygen graphviz
doxygen

Dynamic code generation :
python3 scripts/refreshdyn.py examples/em_test.pickle OUTPUTFILE.py

Instance creation :
Use the script in scripts/create_instance.sh

Usage : scripts/create_instance.sh instance_name instance_dir [lodel_libdir]

Instance operations :
A Makefile is written to allow running most of operations. Existing targets are for the moment :

make dyncode # Leapi dynamic code creation ( in leapi_dyncode.py in lodel2 instance root dir)
make init_db # Call migration handlers to tell them to init all needed databases. (note : this target has dyncode as dependencie)
make list_hooks # List all the hooks registered

Instance loader uppdate :
If the install/loader.py is updated you can update instance's loader.py using
scripts/create_instance.sh -u INSTANCE_PATH