+++ /dev/null
-#!/bin/sh
-# build.sh -- the build-script for Mir
-
-# Identify the custom class path components we need
-JAVA_HOME=/usr/local/jdk1.2.2
-
-# Add all JAR files to CLASSPATH
-LOCALCLASSPATH=`echo /usr/share/java/*.jar | tr ' ' ':'`
-
-LIB_HOME=lib
-TOMCAT_HOME=/usr/share/tomcat
-
-CP=$LIB_HOME/servlet.jar
-CP=$LIB_HOME/ant.jar:$LIB_HOME/xerces.jar
-CP=$CP:$LOCALCLASSPATH
-CP=$CP:$LIB_HOME/servlet-2.2.jar
-CP=$CP:$LIB_HOME/gnu-regexp-1.0.8.jar
-CP=$CP:$LIB_HOME/freemarker.jar:$LIB_HOME/freemarker-utility.jar
-CP=$CP:$LIB_HOME/mm.mysql
-CP=$CP:$LIB_HOME/dbconbroker.jar
-CP=$CP:$LIB_HOME/cos.jar
-CP=$CP:$LIB_HOME/saxon.jar
-CP=$CP:$LIB_HOME/jai_codec.jar
-CP=$CP:$LIB_HOME/jai_core.jar
-CP=$CP:$JAVA_HOME/lib/tools.jar
-CP=$CP:$JAVA_HOME/lib/rt.jar
-
-# Execute ANT to perform the requested build target
-$JAVA_HOME/bin/java -classpath $CP:$CLASSPATH org.apache.tools.ant.Main \
- -Dtomcat.home=$TOMCAT_HOME "$@"
--- /dev/null
+#!/bin/sh
+# build.sh -- the build-script for Mir
+
+# Identify the custom class path components we need
+JAVA_HOME=/usr/lib/j2sdk1.3
+
+# Add all JAR files to CLASSPATH
+LOCALCLASSPATH=`echo /usr/share/java/*.jar | tr ' ' ':'`
+
+LIB_HOME=lib
+TOMCAT_HOME=/usr/share/tomcat
+
+CP=$LIB_HOME/servlet.jar
+CP=$LIB_HOME/ant.jar:$LIB_HOME/xerces.jar
+CP=$CP:$LOCALCLASSPATH
+CP=$CP:$TOMCAT_HOME/lib/tomcat.jar
+CP=$CP:$LIB_HOME/gnu-regexp-1.0.8.jar
+CP=$CP:$LIB_HOME/freemarker.jar:$LIB_HOME/freemarker-utility.jar
+CP=$CP:$LIB_HOME/mm.mysql
+CP=$CP:$LIB_HOME/dbconbroker.jar
+CP=$CP:$LIB_HOME/cos.jar
+CP=$CP:$LIB_HOME/saxon.jar
+CP=$CP:$LIB_HOME/jai_codec.jar
+CP=$CP:$LIB_HOME/jai_core.jar
+CP=$CP:$JAVA_HOME/lib/tools.jar
+CP=$CP:$JAVA_HOME/lib/rt.jar
+
+# Execute ANT to perform the requested build target
+$JAVA_HOME/bin/java -classpath $CP:$CLASSPATH org.apache.tools.ant.Main \
+ -Dtomcat.home=$TOMCAT_HOME "$@"
now customize config.properties for your needs.
-3. configure the build.sh file with java_home
+3. configure the build.sh file with java_home
+ cp build.sh-dist build.sh
+ chmod 755 build.sh
-4. Link in the webapps directory of tomcat to the install directory (the directory is called Mir).
+4. copy the mir/template-dist-directory to mir/template
-5. copy the mir/template-dist-directory to mir/template
-
+5. compile
+ sh build.sh
-6. compile
- sh build.sh
+6. Link in the webapps directory of tomcat to the install directory (the directory is called Mir).
7. create a new database
-
the database name should be the same as in config.properties
as user postgres:
-
createdb dbname
8. create base table
-
psql -Upostgres dbname < dbscripts/create_pg.sql
cat dbscript/help*.sql | psql -Upostgres dbname
http://host/OpenMir
-standard login is redaktion/indymedia
+standard login is redaktion/indymedia
\ No newline at end of file