Browse Source

Documentatio update

Yann Weber 9 years ago
parent
commit
5c48e311d2
3 changed files with 13 additions and 1 deletions
  1. 5
    0
      README.txt
  2. 7
    0
      __init__.py
  3. 1
    1
      scripts/create_instance.sh

+ 5
- 0
README.txt View File

6
 
6
 
7
 Dynamic code generation :
7
 Dynamic code generation :
8
 	python3 scripts/refreshdyn.py examples/em_test.pickle OUTPUTFILE.py
8
 	python3 scripts/refreshdyn.py examples/em_test.pickle OUTPUTFILE.py
9
+
10
+Instance creation :
11
+	Use the script in scripts/create_instance.sh
12
+
13
+	Usage : scripts/create_instance.sh instance_name instance_dir [lodel_libdir]

+ 7
- 0
__init__.py View File

1
+## @package install Contains the base files for a lodel2 instance
2
+#
3
+# An instance is composed of multiple things :
4
+#- a configuration directory ( @ref install/conf.d/ )
5
+#- a bootstraping script ( @ref install/loader.py )
6
+#- an utilities source code ( @ref install/lodel_admin.py )
7
+#- a Makefile that allow to run common instance operations (only refresh the dynamic code for now)

+ 1
- 1
scripts/create_instance.sh View File

39
 
39
 
40
 echo -e "\nInstance successfully created in $instdir"
40
 echo -e "\nInstance successfully created in $instdir"
41
 echo -e "============================\n"
41
 echo -e "============================\n"
42
-echo "Now you should edit '$settings' and then run : cd $instdir && make dbinit"
42
+echo "Now you should edit files in '${instdir}/conf.d/' and then run : cd $instdir && make dyncode"

Loading…
Cancel
Save