annotate README @ 475:8419950cb3ea

Anpasung der README
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 17 Jan 2014 16:26:57 +0100
parents dd2b468dc1c2
children 584003637a6b
rev   line source
436
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
1 Lada-Client
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
2 ===========
469
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
3 Dies ist die Prototypversion eines EXTJS basierten Klienten für die
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
4 Verarbeitung von Labordaten (Lada) zur Überwachung der Umweltradioaktivität.
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
5
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
6 Die Software bietet grundlegende Funktionalität zur Erfassung und Bearbeitung
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
7 von Messdaten. Weitere Informationen finden sich auf der Projektwebseite unter
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
8 der Adresse:
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
9
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
10 https://wald.intevation.org/projects/lada/
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
11
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
12 Die Software entstand im Rahmen einer Software Entwicklung durch die
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
13 Intevation GmbH im Auftrag des Bundesamt für Strahlenschutz im Jahre 2013.
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
14
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
15 Lizenz
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
16 ------
475
8419950cb3ea Anpasung der README
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 471
diff changeset
17 Die Software unter der GNU GPL v>=3 Lizenz verfügbar. Details siehe die Datei
8419950cb3ea Anpasung der README
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 471
diff changeset
18 COPYING.
469
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
19
475
8419950cb3ea Anpasung der README
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 471
diff changeset
20 Quelltext
8419950cb3ea Anpasung der README
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 471
diff changeset
21 ---------
469
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
22 Die Quelldateien lassen sich wie folgt auschecken:
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
23 hg clone https://scm.wald.intevation.org/hg/lada/lada-client
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
24
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
25 Dokumentation
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
26 -------------
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
27 Die Dokumentation wird mit dem Tool JSDuck erzeugt.
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
28 Im Wurzelordner lässt sich nach der Installation von JSDuck dann mit dem
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
29 Befehl "jsduck" die Dokumentation für den Lada-Clienten erzeugen.
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
30 Die Dokumentation findet sich nach der Generierung in dem Order "doc".
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
31 Einstiegseite ist die Seite template.html.
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
32
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
33 JSDuck ist unter der Adresse
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
34
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
35 https://github.com/senchalabs/jsduck
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
36
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
37 zu finden und muss installiert werden.
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
38
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
39 Einstellung bezüglich der Generierung der Dokumentation ist in der Datei
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
40 jsduck.json hinterlegt.
436
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
41
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
42 Entwicklung
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
43 -----------
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
44 Für die Entwicklung ist es notwenig in dem Wurzelordner die ExtJS-Bibliothek
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
45 in der Version >=4.2.0 unter dem Namen "extjs" zur Verfügung zu stellen.
27
e02d07abc4fe Added notes to the README
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 26
diff changeset
46
e02d07abc4fe Added notes to the README
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 26
diff changeset
47 Diese lässt sich unter der folgenden URL herunterladen:
e02d07abc4fe Added notes to the README
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 26
diff changeset
48 http://cdn.sencha.com/ext/gpl/ext-4.2.0-gpl.zip
e02d07abc4fe Added notes to the README
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 26
diff changeset
49
e02d07abc4fe Added notes to the README
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 26
diff changeset
50 SHA1 Checksum: 2ce990d9e90c48a76078e8533c72b5452f9ed809
e02d07abc4fe Added notes to the README
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 26
diff changeset
51
e02d07abc4fe Added notes to the README
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 26
diff changeset
52 Beispiel:
e02d07abc4fe Added notes to the README
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 26
diff changeset
53 curl -O http://cdn.sencha.com/ext/gpl/ext-4.2.0-gpl.zip
e02d07abc4fe Added notes to the README
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 26
diff changeset
54 unzip ext-4.2.0-gpl.zip
e02d07abc4fe Added notes to the README
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 26
diff changeset
55 ln -s ext-4.2.0-gpl extjs
340
7cddca668d21 Hinweise zur Dokumentation eingefügt.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 27
diff changeset
56
436
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
57 Zusätzlich wird für diese Anwendung eine Bibliothek zur Internationalisierung
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
58 verwendet, die unter der URL
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
59
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
60 https://github.com/elmasse/Ext.i18n.Bundle
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
61
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
62 verfügbar ist, verwendet.
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
63 Diese muss in dem Ordner 'src' der vorher zur Verfügung gestellten ExtJS
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
64 Bibliothek eingebunden werden. Dazu wird der Ordner 'i18n' in den Ordner 'src' kopiert
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
65 oder verlinkt.
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
66
469
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
67 Build
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
68 -----
436
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
69 Die Anwendung wird mit Hilfe des von Sencha bereitgestellten Tools 'Sencha Cmd'
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
70 compiliert und minifiziert. Vorbedingung für den Compilevorgang ist die unter
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
71 Entwicklung beschriebene Verzeichnisstruktur.
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
72
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
73 Sencha Cmd kann unter der URL
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
74
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
75 http://www.sencha.com/products/sencha-cmd/download
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
76
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
77 heruntergeladen und dann installiert werden.
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
78
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
79 Mit dem folgenden Befehl kann dann der Lada-Client compiliert und minifiziert werden:
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
80
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
81 sencha -sdk /path/to/extjs compile \
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
82 -classpath=app,app/view/widgets/resources/datetime page -yui \
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
83 -in index.html -out build/index.html
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
84
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
85 Dies erzeugt in dem Ordner 'build' die minifizierte Version der Anwendung, die
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
86 alle benötigten Klassen der ExtJS Bibliothek beinhaltet und eine entsprechende
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
87 index.html, die zur Auslieferung in einem Webserver verwendet werden kann.
067ecffac15d Updated Readme: Added section with hints to minify the app with Sencha cmd.
Raimund Renkert <rrenkert@intevation.de>
parents: 399
diff changeset
88
469
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
89 Installation
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
90 ------------
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
91 Für den Betrieb des Lada-Clients muss dieser innerhalb einer Webserver-Umgebung
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
92 installiert werden. Die folgenden Hinweise geben eine Kurze Anleitung zur
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
93 Installation eines Apache-Webserver.
340
7cddca668d21 Hinweise zur Dokumentation eingefügt.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 27
diff changeset
94
469
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
95 Hinweis: Für den Betrieb einer vollständigen Installation ist neben dem
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
96 Klienten auch die Installation eines Servers und entsprechender Datenbank
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
97 notwendig. Für die Installation des Servers folgen Sie bitte den Hinweisen in
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
98 der README Datei des Server-Pakets. Siehe Projektwebseite. Optional: Die
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
99 Authentifizierung kann gegen einen LDAP-Server durchgeführt werden. Beispiele
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
100 finde sich in dem Installationbeispiel.
399
d0a9a1c31441 Hinweis hinzugefügt wo JSDuck zu finden ist.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 340
diff changeset
101
469
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
102 Die folgenden Hinweise beziehen sich auf die Installation und Einrichtung auf
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
103 Basis eines Oracle-RedHat Linux Systems.
399
d0a9a1c31441 Hinweis hinzugefügt wo JSDuck zu finden ist.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 340
diff changeset
104
469
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
105 Installation Apache
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
106 ```````````````````
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
107 Zunächst wird der Apache Webserver aus dem Repository installiert:
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
108
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
109 yum install httpd mod_ssl
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
110 service httpd start
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
111
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
112 Aktivierung der Apache Module
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
113 `````````````````````````````
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
114
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
115 Die Konfiguration, welche Module beim Start des Apache geladen werden, erfolgt
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
116 in der Datei "/etc/httpd/conf". Die zu ladende Module sind in dieser Datei mit
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
117 der Option "LoadModule" angegeben. Folgende Module werden benötigt:
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
118
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
119 * ldap_module: Authenitfizierung gegen den LDAP
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
120 * headers_module: Setzten der Header nach der Authenitifizierung
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
121 * proxy_module: Reverse Proxy des Apache zum Jboss-Server
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
122
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
123 Einrichtung der Anwendung
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
124 `````````````````````````
471
dd2b468dc1c2 Added hints on installation
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 469
diff changeset
125 Zunächst hinterlegen wir die Anwendung in dem Server. Hierzu verwenden wir die
dd2b468dc1c2 Added hints on installation
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 469
diff changeset
126 gebaute Version, welche sich im "build" Ordner befindet (Siehe Build).
469
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
127
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
128 cd /var/www/html
471
dd2b468dc1c2 Added hints on installation
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 469
diff changeset
129 mkdir lada
dd2b468dc1c2 Added hints on installation
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 469
diff changeset
130 cp build/* lada
469
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
131
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
132 # Wichtig um SELinux dazu zu überreden das neue Verzeichnis auch zu
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
133 # servieren:
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
134 restorecon -Rv /var/www/html/
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
135
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
136 Die Anwendung sollte nun bereits unter der Adresse http://localhost/lada
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
137 erreichbar sein.
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
138
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
139 Konfiguration Proxy Server
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
140 ``````````````````````````
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
141 Damit der Client eine Verbindung zu dem Server aufbauen kann, um von dort
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
142 Daten laden zu können, ist es notwendig den Server weiter zu konfigurieren.
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
143
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
144 togglesebool httpd_can_network_connect
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
145 service httpd restart
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
146
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
147 Dies erlaubt dem Apache grundsätzlich sich mit einem anderen Dienst zu verbinden.
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
148 Nun muss noch ein Reverse-Proxy eingerichtet werden. Dieser ist nur für
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
149 bestimmte Adressen aktiv
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
150
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
151 Folgende Datei sollte unter "/etc/httpd/conf.d/lada.conf" angelegt werden:
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
152
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
153 <VirtualHost *:80>
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
154 ServerAdmin webmaster@localhost
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
155 #ServerName dummy-host.example.com
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
156 ErrorLog logs/lada-error_log
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
157 CustomLog logs/lada-access_log common
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
158
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
159 # Set multiple Proxys
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
160 ProxyPass /lada/server http://localhost:8080/lada
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
161 ProxyPassReverse /lada/server http://localhost:8080/lada
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
162 </VirtualHost>
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
163
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
164 Alle Anfragen an die Adresse "/lada/service", werden nun an den Server weitergeleitet.
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
165
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
166 Authentifizierung
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
167 `````````````````
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
168 Die Authentifizierung geschieht gegen einen LDAP-Server.
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
169
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
170 <Location /lada>
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
171 AuthType basic
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
172 AuthName "test"
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
173 AuthBasicProvider ldap
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
174 AuthLDAPURL "ldap://ike.polyhedra.intevation.de:389/cn=users,dc=icosahedron,dc=polyhedra,dc=intevation,dc=de?uid,memberof??(&(objectClass=inetOrgPerson)(memberOf=*))"
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
175 Require valid-user
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
176 </Location>
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
177
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
178 <Location /lada/server>
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
179 RequestHeader unset Authorization
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
180 RequestHeader set X-LDAP-User "%{AUTHENTICATE_uid}e"
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
181 RequestHeader set X-LDAP-Groups "%{AUTHENTICATE_memberof}e"
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
182 </Location>
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
183
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
184 Sofern gewünscht, kann die Authentifizierung für Testzwecke zu deaktivieren
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
185 werden. Trotz allem müssen die entsprechenden Header gesetzt werden, da der
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
186 Server zur Authentifizierung und Authorisierung erwartet.
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
187
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
188 # Set Headers to simulate Authentification.
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
189 <Location /lada/server>
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
190 RequestHeader set X-LDAP-User "mst_06010"
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
191 RequestHeader set X-LDAP-Groups "cn=Imis_world,cn=groups,dc=icosahedron,dc=polyhedra,dc=intevation,dc=de;cn=mst_06010,cn=groups,dc=icosahedron,dc=polyhedra,dc=intevation,dc=de;cn=mst_11010,cn=groups,dc=icosahedron,dc=polyhedra,dc=intevation,dc=de"
9ba41a46f6e5 README added hints for installation, license etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 436
diff changeset
192 </Location>

http://lada.wald.intevation.org