Няма описание
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 8361a791c5 Changed the filesystem_session's set_value, get_value and del_value methods' names преди 8 години
doc/img Add autyhentication/session flowcharts преди 8 години
examples Authentification form in Webui interface преди 8 години
globconf.d Authentification form in Webui interface преди 8 години
install Merge branch 'master' of git.labocleo.org:lodel2 преди 8 години
lodel Changed the filesystem_session handler and added new commands to the sessionhandler (to add, del and read values from the session) преди 8 години
m4 Add a forgotten (not mandatory file) преди 8 години
plugins Changed the filesystem_session's set_value, get_value and del_value methods' names преди 8 години
scripts Multiple bugfixes + create_instance.sh script update преди 8 години
tests Add tests on SettingValidator class for major methods преди 8 години
.gitignore Updated the doxygen documentation преди 9 години
AUTHORS Configure autotools for distributing lodel2 преди 8 години
COPYING Configure autotools for distributing lodel2 преди 8 години
ChangeLog Configure autotools for distributing lodel2 преди 8 години
Doxyfile Doxygen documentation update преди 8 години
INSTALL Configure autotools for distributing lodel2 преди 8 години
Makefile.am Enhancement of distclean target преди 8 години
NEWS Configure autotools for distributing lodel2 преди 8 години
README Configure autotools for distributing lodel2 преди 8 години
bootstrap.sh Configure autotools for distributing lodel2 преди 8 години
configure.ac solves #138 : implements a m4 macro to checks version преди 8 години
em_test.py Authentification form in Webui interface преди 8 години
requirements.txt Updated the requirements file преди 8 години
runtest Add a test in runtest that asserts the projects was build преди 8 години

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
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