1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-10-31 19:49:02 +01:00
No description
Find a file
Yann 8316ab82ff Configure autotools for distributing lodel2
IMPORTANT : tests are broken. See details below

A new lodel/buildconf.py.ini file created. It will be transformed to a lodel/buildconf.py file by ./configure .
This file goal is to store build time constant (for the moment the presence of pymongo).
You have to build lodel2 before being able to run the tests.
2016-08-30 14:01:25 +02:00
doc/img Add autyhentication/session flowcharts 2016-08-10 11:10:33 +02:00
examples Deleted old conf (plugins_path and plugins) in globconf.d 2016-08-30 11:45:38 +02:00
globconf.d Deleted old conf (plugins_path and plugins) in globconf.d 2016-08-30 11:45:38 +02:00
install Modified conf.d/lodel.ini for handle new plugins configuration 2016-08-30 12:22:50 +02:00
lodel Configure autotools for distributing lodel2 2016-08-30 14:01:25 +02:00
m4 Configure autotools for distributing lodel2 2016-08-30 14:01:25 +02:00
plugins Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel 2016-08-25 16:11:48 +02:00
scripts Multiple bugfixes + create_instance.sh script update 2016-06-30 11:18:33 +02:00
tests Configure autotools for distributing lodel2 2016-08-30 14:01:25 +02:00
.gitignore Updated the doxygen documentation 2016-01-27 16:58:55 +01:00
AUTHORS Configure autotools for distributing lodel2 2016-08-30 14:01:25 +02:00
bootstrap.sh Configure autotools for distributing lodel2 2016-08-30 14:01:25 +02:00
ChangeLog Configure autotools for distributing lodel2 2016-08-30 14:01:25 +02:00
configure.ac Configure autotools for distributing lodel2 2016-08-30 14:01:25 +02:00
COPYING Configure autotools for distributing lodel2 2016-08-30 14:01:25 +02:00
Doxyfile Deleting old stuff + bugfix in install/Makefile and in install/lodel_admin.py 2016-06-16 15:57:13 +02:00
em_test.py Changed confspec to include Auth specs + em_test modifications 2016-07-07 16:35:28 +02:00
INSTALL Configure autotools for distributing lodel2 2016-08-30 14:01:25 +02:00
Makefile.am Configure autotools for distributing lodel2 2016-08-30 14:01:25 +02:00
NEWS Configure autotools for distributing lodel2 2016-08-30 14:01:25 +02:00
README Configure autotools for distributing lodel2 2016-08-30 14:01:25 +02:00
requirements.txt Updated the requirements file 2016-06-23 14:46:10 +02:00
runtest Add a file to execute tests on plugins + rewrite the tests 2016-08-29 14:19:02 +02:00
settings.ini Changes the loader in order to load settings_local.ini instead of versionned settings.ini 2016-04-12 09:54:04 +02:00
settings.py correction import pymysql 2016-04-07 10:16:29 +02:00

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