Няма описание
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.
prieto a774b016c3 Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel преди 7 години
doc/img Add autyhentication/session flowcharts преди 7 години
examples Added a settings validator for plugin преди 7 години
globconf.d Add tests for filtered queries + bugfixes преди 8 години
install Bugfixes in lodel_admin init_db action преди 7 години
lodel Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel преди 7 години
plugins Automatic update of Back-references преди 7 години
scripts Multiple bugfixes + create_instance.sh script update преди 8 години
tests Added a test for a missing name in the from_name method's tests (for the DataHandler class) преди 7 години
.gitignore Updated the doxygen documentation преди 8 години
Doxyfile Deleting old stuff + bugfix in install/Makefile and in install/lodel_admin.py преди 8 години
Makefile New webui plugin + create_instance.sh update преди 8 години
README.txt Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel преди 8 години
em_test.py Changed confspec to include Auth specs + em_test modifications преди 8 години
requirements.txt Updated the requirements file преди 8 години
runtest Bugfixes in LeGetQuery + more tests on LeObject.get <-> LeGetQuery преди 8 години
settings.ini Changes the loader in order to load settings_local.ini instead of versionned settings.ini преди 8 години
settings.py correction import pymysql преди 8 години

README.txt

Dependencies :
with pip : see requirements.txt
debian stable : python3 python3-lxml python3-jinja2 python3-werkzeug python3-pymongo uwsgi-plugin-python3 mongodbd

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