Browse Source

Merge pull request #369 from tracim/fix/234/apache_documentation

Damien Accorsi 7 years ago
parent
commit
9f004dffa1
1 changed files with 16 additions and 1 deletions
  1. 16 1
      doc/apache.md

+ 16 - 1
doc/apache.md View File

34
         </Directory>
34
         </Directory>
35
     </VirtualHost>
35
     </VirtualHost>
36
 
36
 
37
-Replace `[tracim_path]` and `[your_user]` by your tracim installation path and your user.
37
+Replace `[tracim_path]` and `[your_user]` above by your tracim installation path and your user.
38
+
39
+Set the `APP_CONFIG` variable of the `tracim/app.wsgi` file to match your tracim installation path:
40
+
41
+    # -*- coding: utf-8 -*-
42
+
43
+    APP_CONFIG = "[tracim_path]/tracim/development.ini"
44
+
45
+    #Setup logging
46
+    # import logging
47
+    # logging.config.fileConfig(APP_CONFIG)
48
+
49
+    #Load the application
50
+    from paste.deploy import loadapp
51
+    application = loadapp('config:%s' % APP_CONFIG)
52
+    application.debug = False
38
 
53
 
39
 Load needed proxy modules and enable this site configuration file:
54
 Load needed proxy modules and enable this site configuration file:
40
 
55