Browse Source

Update README.txt and install/Makefile

Yann Weber 8 years ago
parent
commit
329a69ad61
2 changed files with 7 additions and 1 deletions
  1. 6
    0
      README.txt
  2. 1
    1
      install/Makefile

+ 6
- 0
README.txt View File

@@ -15,3 +15,9 @@ Instance creation :
15 15
 	Use the script in scripts/create_instance.sh
16 16
 
17 17
 	Usage : scripts/create_instance.sh instance_name instance_dir [lodel_libdir]
18
+
19
+Instance operations :
20
+	A Makefile is written to allow running most of operations. Existing targets are for the moment :
21
+
22
+	make dyncode # Leapi dynamic code creation ( in leapi_dyncode.py in lodel2 instance root dir)
23
+	make db_init # Call migration handlers to tell them to init all needed databases. (note : this target has dyncode as dependencie)

+ 1
- 1
install/Makefile View File

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

Loading…
Cancel
Save