Mercurial > dive4elements > river
comparison doc/INSTALL_DE @ 7779:abf3cb9cb6c4
INSTALL_DE: remove obsolete client configuration.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Tue, 04 Mar 2014 18:40:00 +0100 |
parents | b972c7e1bfbe |
children | be4b37839015 |
comparison
equal
deleted
inserted
replaced
7778:35a7c05b5cd4 | 7779:abf3cb9cb6c4 |
---|---|
108 $ hg clone https://scm.wald.intevation.org/hg/dive4elements/river/ | 108 $ hg clone https://scm.wald.intevation.org/hg/dive4elements/river/ |
109 | 109 |
110 | 110 |
111 Anpassen der Clientkonfiguration | 111 Anpassen der Clientkonfiguration |
112 -------------------------------- | 112 -------------------------------- |
113 #. Rollen und Berechtigungen | |
114 | |
115 $ cd river/gwt-client/src/main/webapp/WEB-INF/ | 113 $ cd river/gwt-client/src/main/webapp/WEB-INF/ |
116 $ vi features.xml | |
117 | |
118 Den Inhalt mit folgendem ersetzen: | |
119 | |
120 <?xml version="1.0" encoding="UTF-8"?> | |
121 <ftr:features xmlns:ftr="http://www.intevation.de/2012/flys/features"> | |
122 <ftr:role name="d4e_demo_all"> | |
123 <ftr:feature>module:winfo</ftr:feature> | |
124 <ftr:feature>module:minfo</ftr:feature> | |
125 <ftr:feature>module:new_map</ftr:feature> | |
126 <ftr:feature>module:new_chart</ftr:feature> | |
127 <ftr:feature>module:fixanalysis</ftr:feature> | |
128 <ftr:feature>river:Beispielfluss</ftr:feature> | |
129 </ftr:role> | |
130 <ftr:role name="d4e_demo_extern"> | |
131 <ftr:feature>module:winfo</ftr:feature> | |
132 <ftr:feature>module:minfo</ftr:feature> | |
133 <ftr:feature>river:Beispielfluss</ftr:feature> | |
134 </ftr:role> | |
135 </ftr:features> | |
136 | |
137 #. Ändern der Authentifizierung von GGinA auf plain (lokal) | |
138 | |
139 $ vi web.xml | |
140 | |
141 Ändern der Konfiguration von: | |
142 | |
143 <context-param> | |
144 <param-name>authentication</param-name> | |
145 <param-value>GGinA</param-value> | |
146 </context-param> | |
147 | |
148 in: | |
149 | |
150 <context-param> | |
151 <param-name>authentication</param-name> | |
152 <param-value>plain</param-value> | |
153 </context-param> | |
154 | |
155 #. Die Print-URL anpassen | |
156 | |
157 $ vi web.xml | |
158 | |
159 <!-- Servlet to bridge between MapFish Print and FLYS3 --> | |
160 <servlet> | |
161 <servlet-name>MapPrintService</servlet-name> | |
162 <servlet-class>org.dive4elements.river.client.server.MapPrintServiceImpl</servlet-class> | |
163 <init-param> | |
164 <param-name>config</param-name> | |
165 <param-value>WEB-INF/config.yaml</param-value> | |
166 </init-param> | |
167 <init-param> | |
168 <param-name>print-url</param-name> | |
169 <!-- Hier die URL zu dem Tomcat6 Container angeben. --> | |
170 <param-value>http://localhost:8080/d4e/flys/mapfish-print</param-value> | |
171 </init-param> | |
172 </servlet> | |
173 | 114 |
174 #. Mapfishprint config.yaml anpassen | 115 #. Mapfishprint config.yaml anpassen |
175 | 116 |
176 $ vi config.yaml | 117 $ vi config.yaml |
177 | 118 |