summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5ff4389)
raw | patch | inline | side by side (parent: 5ff4389)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sat, 25 Oct 2003 23:00:42 +0000 (23:00 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sat, 25 Oct 2003 23:00:42 +0000 (23:00 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1944 57a73879-2fb5-44c3-a270-3262357dd7e2
BUILD.txt | patch | blob | history | |
doc/.cvsignore | patch | blob | history | |
doc/Makefile | patch | blob | history | |
doc/installation.txt | patch | blob | history | |
doc/postgresql.txt | patch | blob | history |
diff --git a/BUILD.txt b/BUILD.txt
index 4ee93d194c64e3761d726b5c5b26823eea98cb8b..53f93faae4485db3bd61f4e494addd52e059aacb 100644 (file)
--- a/BUILD.txt
+++ b/BUILD.txt
This means that we only need to ever build source releases. This is done by
running:
-1. Make sure the unit tests run! "./run_tests"
+1. Make sure the unit tests run! "python run_tests.py"
2. Edit roundup/__init__.py and doc/announcement.txt to reflect the new
version and appropriate announcements. Add truncated announcement to
setup.py description field.
diff --git a/doc/.cvsignore b/doc/.cvsignore
index 518dbba70782820d24615be46f3bb760f7d27e43..77efb766792327e50aa76dfaa5aba3f08d922edd 100644 (file)
--- a/doc/.cvsignore
+++ b/doc/.cvsignore
design.html
maintenance.html
overview.html
+mysql.html
+postgresql.html
diff --git a/doc/Makefile b/doc/Makefile
index 8cb79fe546728233df04199162e0d8f6b6719c15..b059b71a512a5a5b8bde023c7b8067692ecd5b2d 100644 (file)
--- a/doc/Makefile
+++ b/doc/Makefile
SOURCE = announcement.txt customizing.txt developers.txt FAQ.txt features.txt \
glossary.txt implementation.txt index.txt design.txt mysql.txt \
- installation.txt upgrading.txt user_guide.txt maintenance.txt
+ installation.txt upgrading.txt user_guide.txt maintenance.txt \
+ postgresql.txt
COMPILED := $(SOURCE:.txt=.html)
diff --git a/doc/installation.txt b/doc/installation.txt
index 37dee4b4199ec0e26da230d7b79d496dfcfb0bc3..50f2c79474eb2c29dade08e603a96c98c4c0f309 100644 (file)
--- a/doc/installation.txt
+++ b/doc/installation.txt
Installing Roundup
==================
-:Version: $Revision: 1.61 $
+:Version: $Revision: 1.62 $
.. contents::
Testing your Python
-------------------
-Once you've unpacked roundup's source, run ``python ./run_tests`` in the
+Once you've unpacked roundup's source, run ``python run_tests.py`` in the
source directory and make sure there are no errors. If there are errors,
please let us know!
If the above fails, you may be using the wrong version of python. Try
-``python2 ./run_tests``. If that works, you will need to substitute
+``python2 run_tests.py``. If that works, you will need to substitute
``python2`` for ``python`` in all further commands you use in relation to
Roundup -- from installation and scripts.
diff --git a/doc/postgresql.txt b/doc/postgresql.txt
index 60ac1365e3a7a4fec746044370a9f66b607c39bf..a5917c13412012254a348842219acf4c8d83ddef 100644 (file)
--- a/doc/postgresql.txt
+++ b/doc/postgresql.txt
To use PostgreSQL as backend for storing roundup data, you should
additionally install:
- 1. PostgreSQL 7.x - http://www.postgresql.org/
+1. PostgreSQL 7.x - http://www.postgresql.org/
- 2. The psycopg python interface to PostgreSQL -
- http://initd.org/software/initd/psycopg
+2. The psycopg python interface to PostgreSQL:
+ http://initd.org/software/initd/psycopg
Additional configuration
To initialise and use PostgreSQL database roundup's configuration file
(config.py in the tracker's home directory) should be appended with the
-following constants (substituting real values, obviously):
+following constants (substituting real values, obviously)::
POSTGRESQL_DBHOST = 'localhost'
POSTGRESQL_DBUSER = 'roundup'
POSTGRESQL_DBPASSWORD = 'roundup'
POSTGRESQL_DBNAME = 'roundup'
POSTGRESQL_PORT = 5432
- POSTGRESQL_DATABASE = {'host':MYSQL_DBHOST, 'port':POSTGRESQL_PORT,
- 'user':MYSQL_DBUSER, 'password':MYSQL_DBPASSWORD,
- 'database':MYSQL_DBNAME}
-
-Also note that you can leave some values out of POSTGRESQL_DATABASE: 'host' and
-'port' are not necessary when connecting to a local database and 'password'
+ POSTGRESQL_DATABASE = {
+ 'host': MYSQL_DBHOST, 'port': POSTGRESQL_PORT,
+ 'user': MYSQL_DBUSER, 'password': MYSQL_DBPASSWORD,
+ 'database': MYSQL_DBNAME
+ }
+
+Also note that you can leave some values out of
+``POSTGRESQL_DATABASE``: 'host' and 'port' are not necessary when
+connecting to a local database and 'password'
is optional if postgres trusts local connections. The user specified in
-POSTGRESQL_DBUSER must have rights to create a new database and to connect to
-the "template1" database, used while initializing roundup.
-
+``POSTGRESQL_DBUSER`` must have rights to create a new database and to
+connect to the "template1" database, used while initializing roundup.
Have fun with psycopg,
Federico Di Gregorio <fog@initd.org>
-
-vim: et tw=80