Set DATABASE_ENGINE to postgresql_psycopg2 instead of postgresql

Review Request #722 — Created Jan. 29, 2009 and submitted — Latest diff uploaded

Information

Review Board SVN (deprecated)
trunk
749

Reviewers

This will set the correct database engine when postgresql is selected so that the time zone issue does not surface.
$ ./rb-site install /tmp/rb-site3 --noinput --domain-name="test.example.com" --db-type=postgresql --db-name=reviewboard --db-user=reviewboard --db-pass=12345 --cache-type=memcached --cache-info="memcached://localhost:11211/" --web-server-type=apache --python-loader=modpython --admin-user=baz --admin-password=foo --admin-email=bar@example.com


* Welcome to the Review Board site installation wizard.

    This will prepare a Review Board site installation in:

    /tmp/rb-site3

    We need to know a few things before we can prepare your site for
    installation. This will only take a few minutes.


* Installing the site...
Building site directories ... OK
Building site configuration files ... OK
Creating database ... Installing json fixture 'initial_data' from '/usr/lib/python2.5/site-packages/ReviewBoard-1.0alpha2.dev_20090129-py2.5.egg/reviewboard/scmtools/fixtures'.
Installed 6 object(s) from 1 fixture(s)
OK
Performing migrations ... No evolution required.
OK
Creating administrator account ... OK
Saving site settings ... OK


* The site has been installed

    The site has been installed in /tmp/rb-site3

    Sample configuration files for web servers and cron are available
    in the conf/ directory.

    You need to modify the ownership of htdocs/media/uploaded
    directory and all of its contents to be owned by the web server.
    Loading...