Browse Source

Update README.txt + forgotten file plugins/webui/run.py

Yann Weber 8 years ago
parent
commit
39333d699e
3 changed files with 7 additions and 0 deletions
  1. 4
    0
      README.txt
  2. 1
    0
      plugins/webui/main.py
  3. 2
    0
      plugins/webui/run.py

+ 4
- 0
README.txt View File

@@ -19,3 +19,7 @@ Instance operations :
19 19
 	make dyncode # Leapi dynamic code creation ( in leapi_dyncode.py in lodel2 instance root dir)
20 20
 	make init_db # Call migration handlers to tell them to init all needed databases. (note : this target has dyncode as dependencie)
21 21
     make list_hooks # List all the hooks registered
22
+
23
+Instance loader uppdate :
24
+	If the install/loader.py is updated you can update instance's loader.py using
25
+		scripts/create_instance.sh -u INSTANCE_PATH

+ 1
- 0
plugins/webui/main.py View File

@@ -7,6 +7,7 @@ from lodel.settings import Settings
7 7
 PLUGIN_PATH = os.path.dirname(__file__)
8 8
 
9 9
 ##@brief Return the root url of the instance
10
+#@warning no trailing slash
10 11
 def root_url():
11 12
     return Settings.sitename
12 13
 

+ 2
- 0
plugins/webui/run.py View File

@@ -15,6 +15,8 @@ SESSION_EXPIRATION_LIMIT = Settings.webui.sessions.expiration
15 15
 
16 16
 session_store = FilesystemSessionStore(path=SESSION_FILES_BASE_DIR, filename_template=SESSION_FILES_TEMPLATE)
17 17
 
18
+#Starting instance
19
+loader.start()
18 20
 
19 21
 # TODO déplacer dans un module "sessions.py"
20 22
 def delete_old_session_files(timestamp_now):

Loading…
Cancel
Save