Ei kuvausta
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.
Roland Haroutiounian 7aa9c214a8 Added a get_component_html function to get an HTML code for a given gui component type 8 vuotta sitten
doc/img Forgotten doxygen files 8 vuotta sitten
examples Multiple bugfixes + create_instance.sh script update 8 vuotta sitten
globconf.d Add tests for filtered queries + bugfixes 8 vuotta sitten
install Multiple bugfixes + create_instance.sh script update 8 vuotta sitten
lodel MongoDB datasource debugging + field_list handling changes in leobject -> query -> datasource chain 8 vuotta sitten
plugins Added a get_component_html function to get an HTML code for a given gui component type 8 vuotta sitten
scripts Multiple bugfixes + create_instance.sh script update 8 vuotta sitten
tests MongoDB datasource debugging + field_list handling changes in leobject -> query -> datasource chain 8 vuotta sitten
.gitignore Updated the doxygen documentation 8 vuotta sitten
Doxyfile Deleting old stuff + bugfix in install/Makefile and in install/lodel_admin.py 8 vuotta sitten
Makefile New webui plugin + create_instance.sh update 8 vuotta sitten
README.txt Update README.txt + forgotten file plugins/webui/run.py 8 vuotta sitten
em_test.py Bugfixes on EmGroups handling 8 vuotta sitten
requirements.txt Updated the requirements file 8 vuotta sitten
runtest Bugfixes in LeGetQuery + more tests on LeObject.get <-> LeGetQuery 8 vuotta sitten
settings.ini Changes the loader in order to load settings_local.ini instead of versionned settings.ini 8 vuotta sitten
settings.py correction import pymysql 8 vuotta sitten

README.txt

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

Doxygen documentation generation :
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