=== modified file 'src/docbkx/en/dhis2_implementation_guide_installation.xml' --- src/docbkx/en/dhis2_implementation_guide_installation.xml 2014-06-05 17:29:58 +0000 +++ src/docbkx/en/dhis2_implementation_guide_installation.xml 2014-06-05 17:40:46 +0000 @@ -447,12 +447,12 @@
App setup with nginx DHIS 2 supports installation of apps. To avoid having to re-install your apps every time - you update and replace DHIS 2, it is beneficial to deploy apps on the server file system - outside the DHIS 2 webapp directory. To install apps directly in nginx you can follow the - following steps. First create a directory which will be used as the app installation + you update and replace the DHIS 2 WAR file it is beneficial to deploy apps on the server + file system outside the DHIS 2 webapp directory. To install apps directly in nginx you can + follow these steps. First create a directory which will be used as the app installation folder. sudo mkdir /usr/share/nginx/apps - Make sure that the directory is owned by the user which runs Tomcat, in order to allow + Make sure that the directory is owned by the user which runs Tomcat in order to allow the Tomcat process to save apps to this directory when they are uploaded. If the user running Tomcat is dhis you can use the below command. @@ -470,11 +470,12 @@ } Finally navigate to the app configuration screen in your DHIS 2 instance by going to App management > Settings and adjust the settings accordingly. - The app installation folder should point to the path on the server file system to the - base directory: + The app installation folder should point to the base + directory path on the server file system: /usr/share/nginx/apps - The app base URL should point to the URL where DHIS 2 can find the apps. Replace - www.domain.com with your real domain and according to how you have deployed DHIS 2. + The app base URL should point to the URL where DHIS 2 + can find the apps. Replace www.domain.com with your real domain name and according to how + you have deployed DHIS 2. http://www.domain.com/apps You should now be ready to upload apps from the App management screen. Remember to reload the nginx configuration.