Skip to content

Commit 08fb574

Browse files
author
Richard Jones
committed
*** empty log message ***
1 parent b8ef12d commit 08fb574

File tree

5 files changed

+23
-20
lines changed

5 files changed

+23
-20
lines changed

BUILD.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ want it to stay that way, too.
77
This means that we only need to ever build source releases. This is done by
88
running:
99

10-
1. Make sure the unit tests run! "./run_tests"
10+
1. Make sure the unit tests run! "python run_tests.py"
1111
2. Edit roundup/__init__.py and doc/announcement.txt to reflect the new
1212
version and appropriate announcements. Add truncated announcement to
1313
setup.py description field.

doc/.cvsignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ glossary.html
1313
design.html
1414
maintenance.html
1515
overview.html
16+
mysql.html
17+
postgresql.html

doc/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ STXTOHTML = rst2html
33

44
SOURCE = announcement.txt customizing.txt developers.txt FAQ.txt features.txt \
55
glossary.txt implementation.txt index.txt design.txt mysql.txt \
6-
installation.txt upgrading.txt user_guide.txt maintenance.txt
6+
installation.txt upgrading.txt user_guide.txt maintenance.txt \
7+
postgresql.txt
78

89
COMPILED := $(SOURCE:.txt=.html)
910

doc/installation.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Installing Roundup
33
==================
44

5-
:Version: $Revision: 1.61 $
5+
:Version: $Revision: 1.62 $
66

77
.. contents::
88

@@ -53,12 +53,12 @@ Download the latest version from http://roundup.sf.net/.
5353
Testing your Python
5454
-------------------
5555

56-
Once you've unpacked roundup's source, run ``python ./run_tests`` in the
56+
Once you've unpacked roundup's source, run ``python run_tests.py`` in the
5757
source directory and make sure there are no errors. If there are errors,
5858
please let us know!
5959

6060
If the above fails, you may be using the wrong version of python. Try
61-
``python2 ./run_tests``. If that works, you will need to substitute
61+
``python2 run_tests.py``. If that works, you will need to substitute
6262
``python2`` for ``python`` in all further commands you use in relation to
6363
Roundup -- from installation and scripts.
6464

doc/postgresql.txt

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,37 +12,37 @@ Prerequisites
1212
To use PostgreSQL as backend for storing roundup data, you should
1313
additionally install:
1414

15-
1. PostgreSQL 7.x - http://www.postgresql.org/
15+
1. PostgreSQL 7.x - http://www.postgresql.org/
1616

17-
2. The psycopg python interface to PostgreSQL -
18-
http://initd.org/software/initd/psycopg
17+
2. The psycopg python interface to PostgreSQL:
18+
http://initd.org/software/initd/psycopg
1919

2020

2121
Additional configuration
2222
========================
2323

2424
To initialise and use PostgreSQL database roundup's configuration file
2525
(config.py in the tracker's home directory) should be appended with the
26-
following constants (substituting real values, obviously):
26+
following constants (substituting real values, obviously)::
2727

2828
POSTGRESQL_DBHOST = 'localhost'
2929
POSTGRESQL_DBUSER = 'roundup'
3030
POSTGRESQL_DBPASSWORD = 'roundup'
3131
POSTGRESQL_DBNAME = 'roundup'
3232
POSTGRESQL_PORT = 5432
33-
POSTGRESQL_DATABASE = {'host':MYSQL_DBHOST, 'port':POSTGRESQL_PORT,
34-
'user':MYSQL_DBUSER, 'password':MYSQL_DBPASSWORD,
35-
'database':MYSQL_DBNAME}
36-
37-
Also note that you can leave some values out of POSTGRESQL_DATABASE: 'host' and
38-
'port' are not necessary when connecting to a local database and 'password'
33+
POSTGRESQL_DATABASE = {
34+
'host': MYSQL_DBHOST, 'port': POSTGRESQL_PORT,
35+
'user': MYSQL_DBUSER, 'password': MYSQL_DBPASSWORD,
36+
'database': MYSQL_DBNAME
37+
}
38+
39+
Also note that you can leave some values out of
40+
``POSTGRESQL_DATABASE``: 'host' and 'port' are not necessary when
41+
connecting to a local database and 'password'
3942
is optional if postgres trusts local connections. The user specified in
40-
POSTGRESQL_DBUSER must have rights to create a new database and to connect to
41-
the "template1" database, used while initializing roundup.
42-
43+
``POSTGRESQL_DBUSER`` must have rights to create a new database and to
44+
connect to the "template1" database, used while initializing roundup.
4345

4446
Have fun with psycopg,
4547
Federico Di Gregorio <[email protected]>
4648

47-
48-
vim: et tw=80

0 commit comments

Comments
 (0)