Closed Bug 449090 Opened 18 years ago Closed 18 years ago

Add setup/install script

Categories

(Webtools Graveyard :: Verbatim, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: clouserw, Assigned: dschafer)

Details

Attachments

(1 file)

There is a bunch of hardcoded locale code in dbclasses.py that loads init info into the database. This should be moved to an install script that is run when the server is first installed.
This moves the db initialization to its own script, which should be run before the server is started for the first time. It also adds a default "admin" user, so users can get configured without manually editing databases. pootle.prefs should be passed as the sole argument to the script. A few small modifications to dbclasses.py are also in this patch, since they were needed for the move.
Assignee: nobody → dschafer
Status: NEW → ASSIGNED
Attachment #332269 - Flags: review?(clouserw)
Attachment #332269 - Flags: review?(clouserw) → review+
In revision 7992, marking FIXED.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: