Skip to content

Commit cdefe0d

Browse files
author
Richard Jones
committed
Fixed some problems with installation.
1 parent 0d804a8 commit cdefe0d

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

INSTALL.txt

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ You will need either the anydbm or bsddb module.
2121
Testing the Software
2222
--------------------
2323

24-
Run "python -c 'import tests;tests.go()'" and make sure there's no errors.
24+
Run "python -c 'import test;test.go()'" and make sure there's no errors.
2525
If there are errors, please let us know!
2626

2727

@@ -32,20 +32,30 @@ Installing the Software
3232

3333
python setup.py install
3434

35-
2. If you want the scripts installed, also run the following command. If
36-
you would prefer the scripts installed in somewhere other than
37-
/usr/local/bin, add "--install-dir=<dir>" to the command.
35+
If you would prefer the scripts installed in somewhere other than
36+
/usr/local/bin, add "--install-scripts=<dir>" to the command:
3837

39-
python setup.py install_scripts
38+
python setup.py install --install-scripts=<dir>
39+
40+
The command:
41+
42+
python setup.py install --help
43+
44+
gives all the options available for installation.
4045

4146

4247

4348
Initial Setup
4449
=============
4550

51+
The following instructions assume that you have installed roundup. If you
52+
haven't, you may still proceed - just preface all commands with "./"
53+
ie. "./roundup-admin init".
54+
55+
4656
Instance
4757
--------
48-
Run "./roundup-admin init". This initialises a roundup instance.
58+
Run "roundup-admin init". This initialises a roundup instance.
4959

5060
Roundup is configurable using a localconfig.py file in the instance home.
5161
It may have the following variable declarations:
@@ -80,7 +90,7 @@ This software will work through apache or stand-alone.
8090
Stand-alone:
8191
1. Edit roundup-server at the top - ROUNDUP_INSTANCE_HOMES needs to know
8292
about your instance.
83-
2. "./roundup-server [hostname port]" (hostname may be "")
93+
2. "roundup-server [hostname port]" (hostname may be "")
8494
3. Load up the page "/" using the port number you set.
8595

8696
Apache:

roundup/templatebuilder.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def installHtmlBase(template, installDir):
3434
"couldn't find roundup.template.%s.htmlbase"%template
3535
htmlbase = tmod.htmlbase
3636
installDir = os.path.join(installDir, 'html')
37+
os.makedirs(installDir)
3738

3839
print "installing from", htmlbase.__file__, "into", installDir
3940
modulecontents = dir(htmlbase)

0 commit comments

Comments
 (0)