1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2026-04-09 11:49:58 +02:00

Update README.txt and install/Makefile

This commit is contained in:
Yann 2016-06-17 16:52:47 +02:00
commit 329a69ad61
2 changed files with 7 additions and 1 deletions

View file

@ -15,3 +15,9 @@ 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 db_init # Call migration handlers to tell them to init all needed databases. (note : this target has dyncode as dependencie)

View file

@ -5,5 +5,5 @@ all: dyncode
dyncode:
$(python) -c 'import lodel_admin; lodel_admin.refresh_dyncode()'
init_all_dbs:
init_db: dyncode
$(python) -c 'import lodel_admin; lodel_admin.init_all_dbs()'