Nav apraksta
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Yann Weber 8316ab82ff Configure autotools for distributing lodel2 8 gadus atpakaļ
doc/img Add autyhentication/session flowcharts 8 gadus atpakaļ
examples Deleted old conf (plugins_path and plugins) in globconf.d 8 gadus atpakaļ
globconf.d Deleted old conf (plugins_path and plugins) in globconf.d 8 gadus atpakaļ
install Modified conf.d/lodel.ini for handle new plugins configuration 8 gadus atpakaļ
lodel Configure autotools for distributing lodel2 8 gadus atpakaļ
m4 Configure autotools for distributing lodel2 8 gadus atpakaļ
plugins Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel 8 gadus atpakaļ
scripts Multiple bugfixes + create_instance.sh script update 8 gadus atpakaļ
tests Configure autotools for distributing lodel2 8 gadus atpakaļ
.gitignore Updated the doxygen documentation 9 gadus atpakaļ
AUTHORS Configure autotools for distributing lodel2 8 gadus atpakaļ
COPYING Configure autotools for distributing lodel2 8 gadus atpakaļ
ChangeLog Configure autotools for distributing lodel2 8 gadus atpakaļ
Doxyfile Deleting old stuff + bugfix in install/Makefile and in install/lodel_admin.py 8 gadus atpakaļ
INSTALL Configure autotools for distributing lodel2 8 gadus atpakaļ
Makefile.am Configure autotools for distributing lodel2 8 gadus atpakaļ
NEWS Configure autotools for distributing lodel2 8 gadus atpakaļ
README Configure autotools for distributing lodel2 8 gadus atpakaļ
bootstrap.sh Configure autotools for distributing lodel2 8 gadus atpakaļ
configure.ac Configure autotools for distributing lodel2 8 gadus atpakaļ
em_test.py Changed confspec to include Auth specs + em_test modifications 8 gadus atpakaļ
requirements.txt Updated the requirements file 8 gadus atpakaļ
runtest Add a file to execute tests on plugins + rewrite the tests 8 gadus atpakaļ
settings.ini Changes the loader in order to load settings_local.ini instead of versionned settings.ini 8 gadus atpakaļ
settings.py correction import pymysql 8 gadus atpakaļ

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