| 54 | }}} |
| 55 | |
| 56 | ==== Run the web application in read-only mode ==== |
| 57 | |
| 58 | In order to run the catalogue with the webapp folder in read-only mode, user needs to set 2 variables: |
| 59 | * <webappName>.dir or geonetwork.dir for the data folder. |
| 60 | * (optional) config overrides if configuration files needs to be changed (See http://geonetwork-opensource.org/manuals/trunk/eng/users/admin/advanced-configuration/index.html#configuration-override). |
| 61 | |
| 62 | For Tomcat, configuration could be: |
| 63 | {{{ |
| 64 | CATALINA_OPTS="-Dgeonetwork.dir=/var/lib/geonetwork_data -Dgeonetwork.jeeves.configuration.overrides.file=/var/lib/geonetwork_data/config/my-config.xml" |