Geen omschrijving
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Yann Weber 3931d286a7 Bugfixes in runtest 8 jaren geleden
doc/img Add autyhentication/session flowcharts 8 jaren geleden
examples Add a new sttings validator + use it 8 jaren geleden
globconf.d Add a new sttings validator + use it 8 jaren geleden
install Enhancement in SLIM capabilities + bugfixes in install process 8 jaren geleden
lodel Small bugfix in plugins error message 8 jaren geleden
m4 Add a forgotten (not mandatory file) 8 jaren geleden
plugins Making datasource and mass_deploy working with mongodb user management 8 jaren geleden
progs Add a forgotten Makefile.am patch 8 jaren geleden
scripts Bugfix in create_instance.sh and install/loader.py 8 jaren geleden
tests Added tests for MultiRef datahandler and modified _check_data_value raise exception 8 jaren geleden
.gitignore Updated the doxygen documentation 9 jaren geleden
AUTHORS Configure autotools for distributing lodel2 8 jaren geleden
COPYING Configure autotools for distributing lodel2 8 jaren geleden
ChangeLog Configure autotools for distributing lodel2 8 jaren geleden
Doxyfile Doxygen documentation update 8 jaren geleden
INSTALL Configure autotools for distributing lodel2 8 jaren geleden
Makefile.am Enhancement in SLIM capabilities + bugfixes in install process 8 jaren geleden
NEWS Configure autotools for distributing lodel2 8 jaren geleden
README Makes create_mongodb.sh and its conffile handled by autotools 8 jaren geleden
bootstrap.sh Configure autotools for distributing lodel2 8 jaren geleden
configure.ac Add a data to buildconf.py 8 jaren geleden
em_test.py Authentification form in Webui interface 8 jaren geleden
requirements.txt Updated the requirements file 8 jaren geleden
runtest Bugfixes in runtest 8 jaren geleden

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