From: richard Date: Sat, 25 Oct 2003 23:00:42 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://git.tokkee.org/?p=roundup.git;a=commitdiff_plain;h=09fa8092857bb3e0502b625a7c954ca5482ab980 *** empty log message *** git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1944 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/BUILD.txt b/BUILD.txt index 4ee93d1..53f93fa 100644 --- a/BUILD.txt +++ b/BUILD.txt @@ -7,7 +7,7 @@ want it to stay that way, too. 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 518dbba..77efb76 100644 --- a/doc/.cvsignore +++ b/doc/.cvsignore @@ -13,3 +13,5 @@ glossary.html design.html maintenance.html overview.html +mysql.html +postgresql.html diff --git a/doc/Makefile b/doc/Makefile index 8cb79fe..b059b71 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -3,7 +3,8 @@ STXTOHTML = rst2html 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 37dee4b..50f2c79 100644 --- a/doc/installation.txt +++ b/doc/installation.txt @@ -2,7 +2,7 @@ Installing Roundup ================== -:Version: $Revision: 1.61 $ +:Version: $Revision: 1.62 $ .. contents:: @@ -53,12 +53,12 @@ Download the latest version from http://roundup.sf.net/. 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 60ac136..a5917c1 100644 --- a/doc/postgresql.txt +++ b/doc/postgresql.txt @@ -12,10 +12,10 @@ Prerequisites 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 @@ -23,26 +23,26 @@ 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 - -vim: et tw=80