From 810c1abb56d6890a4096ed09aa8744fe5dd8ece3 Mon Sep 17 00:00:00 2001 From: richard Date: Sat, 28 Jul 2001 00:31:10 +0000 Subject: [PATCH] Fixed some problems with installation. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@108 57a73879-2fb5-44c3-a270-3262357dd7e2 --- INSTALL.txt | 24 +++++++++++++++++------- roundup/templatebuilder.py | 1 + 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/INSTALL.txt b/INSTALL.txt index 074bea1..74a5fff 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -21,7 +21,7 @@ You will need either the anydbm or bsddb module. Testing the Software -------------------- -Run "python -c 'import tests;tests.go()'" and make sure there's no errors. +Run "python -c 'import test;test.go()'" and make sure there's no errors. If there are errors, please let us know! @@ -32,20 +32,30 @@ Installing the Software python setup.py install -2. If you want the scripts installed, also run the following command. If - you would prefer the scripts installed in somewhere other than - /usr/local/bin, add "--install-dir=" to the command. + If you would prefer the scripts installed in somewhere other than + /usr/local/bin, add "--install-scripts=" to the command: - python setup.py install_scripts + python setup.py install --install-scripts= + + The command: + + python setup.py install --help + + gives all the options available for installation. Initial Setup ============= +The following instructions assume that you have installed roundup. If you +haven't, you may still proceed - just preface all commands with "./" +ie. "./roundup-admin init". + + Instance -------- -Run "./roundup-admin init". This initialises a roundup instance. +Run "roundup-admin init". This initialises a roundup instance. Roundup is configurable using a localconfig.py file in the instance home. It may have the following variable declarations: @@ -80,7 +90,7 @@ This software will work through apache or stand-alone. Stand-alone: 1. Edit roundup-server at the top - ROUNDUP_INSTANCE_HOMES needs to know about your instance. - 2. "./roundup-server [hostname port]" (hostname may be "") + 2. "roundup-server [hostname port]" (hostname may be "") 3. Load up the page "/" using the port number you set. Apache: diff --git a/roundup/templatebuilder.py b/roundup/templatebuilder.py index 0970abd..9f96673 100644 --- a/roundup/templatebuilder.py +++ b/roundup/templatebuilder.py @@ -34,6 +34,7 @@ def installHtmlBase(template, installDir): "couldn't find roundup.template.%s.htmlbase"%template htmlbase = tmod.htmlbase installDir = os.path.join(installDir, 'html') + os.makedirs(installDir) print "installing from", htmlbase.__file__, "into", installDir modulecontents = dir(htmlbase) -- 2.30.2