Ver código fonte

Documentatio update

Yann Weber 8 anos atrás
pai
commit
5c48e311d2
3 arquivos alterados com 13 adições e 1 exclusões
  1. 5
    0
      README.txt
  2. 7
    0
      __init__.py
  3. 1
    1
      scripts/create_instance.sh

+ 5
- 0
README.txt Ver arquivo

@@ -6,3 +6,8 @@ Doxygen documentation generation :
6 6
 
7 7
 Dynamic code generation :
8 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 Ver arquivo

@@ -0,0 +1,7 @@
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 Ver arquivo

@@ -39,4 +39,4 @@ sed -i -E "s#^sitename = noname#sitename = $name#" "$conf"
39 39
 
40 40
 echo -e "\nInstance successfully created in $instdir"
41 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"

Carregando…
Cancelar
Salvar