From 57f0a98600101c3eb8652aaa7e1643fc7e17297b Mon Sep 17 00:00:00 2001 From: idfx Date: Sun, 16 Sep 2001 14:28:41 +0000 Subject: [PATCH] build.sh-dist instead of build.sh --- build.sh => build.sh-dist | 4 ++-- doc/INSTALL.mir | 18 ++++++++---------- 2 files changed, 10 insertions(+), 12 deletions(-) rename build.sh => build.sh-dist (92%) diff --git a/build.sh b/build.sh-dist similarity index 92% rename from build.sh rename to build.sh-dist index bf65dc05..d6f9fb84 100755 --- a/build.sh +++ b/build.sh-dist @@ -2,7 +2,7 @@ # build.sh -- the build-script for Mir # Identify the custom class path components we need -JAVA_HOME=/usr/local/jdk1.2.2 +JAVA_HOME=/usr/lib/j2sdk1.3 # Add all JAR files to CLASSPATH LOCALCLASSPATH=`echo /usr/share/java/*.jar | tr ' ' ':'` @@ -13,7 +13,7 @@ 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:$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 diff --git a/doc/INSTALL.mir b/doc/INSTALL.mir index fd6a7b77..9906139f 100755 --- a/doc/INSTALL.mir +++ b/doc/INSTALL.mir @@ -29,30 +29,28 @@ CVS CHECKOUT: 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 @@ -72,4 +70,4 @@ and the openposting-servlet via http://host/OpenMir -standard login is redaktion/indymedia +standard login is redaktion/indymedia \ No newline at end of file -- 2.11.0