no message
[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
34
35 4. Link in the webapps directory of tomcat to the install directory (the directory is called Mir). 
36
37
38 5. copy the mir/template-dist-directory to mir/template 
39
40
41 6. compile
42
43         sh build.sh 
44
45
46 7. create a new database 
47
48 the database name should be the same as in config.properties
49 as user postgres: 
50         
51         createdb dbname 
52
53
54 8. create base table
55
56         psql -Upostgres dbname < dbscripts/create_pg.sql
57         cat dbscript/help*.sql | psql -Upostgres dbname
58
59 9. chmod 777 Mir/log 
60
61 10. restart tomcat 
62
63 11. configure mod_jk 
64
65 that's it :)
66
67 now the admin-application is accesable via:  
68
69         http://host/Mir 
70
71 and the openposting-servlet via  
72         
73         http://host/OpenMir
74
75 standard login is redaktion/indymedia