9906139f5b4c87976d9456ee5a2e80613aa0f6a7
[mir.git] / doc / INSTALL.mir
1 Here is a short installation-howto of Mir.
2
3
4 prerequisites: 
5
6 - tomcat 
7 - apache with mod_jk.so 
8 - postgres 7.1.x
9 - ant (a java-based make) 
10
11
12 1. checkout the cvs
13
14 CVS LOGIN:
15
16         cvs -d :pserver: cvsanon@brazil.indymedia.de:/var/cvs login 
17         password: cvs 
18
19 CVS CHECKOUT:
20
21         cvs -d :pserver: cvsanon@brazil.indymedia.de:/var/cvs co mir 
22
23
24 2. customize the config: 
25
26         cd mir/source 
27         cp config.properties-dist config.properties 
28
29 now customize config.properties for your needs.
30
31
32 3. configure the build.sh file with java_home
33         cp build.sh-dist build.sh 
34         chmod 755 build.sh
35
36
37 4. copy the mir/template-dist-directory to mir/template 
38
39
40 5. compile
41         sh build.sh 
42
43
44 6. Link in the webapps directory of tomcat to the install directory (the directory is called Mir). 
45
46
47 7. create a new database 
48 the database name should be the same as in config.properties
49 as user postgres: 
50         createdb dbname 
51
52
53 8. create base table
54         psql -Upostgres dbname < dbscripts/create_pg.sql
55         cat dbscript/help*.sql | psql -Upostgres dbname
56
57 9. chmod 777 Mir/log 
58
59 10. restart tomcat 
60
61 11. configure mod_jk 
62
63 that's it :)
64
65 now the admin-application is accesable via:  
66
67         http://host/Mir 
68
69 and the openposting-servlet via  
70         
71         http://host/OpenMir
72
73 standard login is redaktion/indymedia