An improved version of the Bouncer mirror management software.
Bouncer is a Mozilla project. The new admin backend was originally written by Frederic Wenzel (email@example.com).
You need Python 2.6. Also, you probably want to run this application in a virtualenv environment.
easy_install pip followed by
pip install -r requirements.txt
to install the required Python libraries.
To initialize the submodule (or pull updates from it), run this from the tuxedo root directory:
git submodule update --init
If you're installing a new copy of Bouncer, run
./manage.py migrate (see "Database Migrations" below).
I am using South to keep track of database
./manage.py migrate will apply these migrations when
If you are upgrading from an earlier version of Bouncer that isn't locale-
aware yet, apply
sql/incremental.sql to bring the DB up to date.
Finally, run the following steps to initialize Django and South:
./manage.py syncdb # initialize django # (answer "no" to the "add a new admin?" question) ./manage.py migrate mirror 0001 --fake # initialize South ./manage.py migrate # apply all existing migrations
There are multiple ways to deploy a Django project on a web server. If you want to use Apache with mod_wsgi, make sure to set it up so it passes HTTP Basic Auth credentials on to the application, otherwise the Tuxedo API won't work.
In my silly mind, I chose to interpret "Bouncer" as "doorman" and subsequently decided that its new version should be codenamed like what fancy bouncers wear: a tuxedo.
This software is licensed under the Mozilla Tri-License:
***** BEGIN LICENSE BLOCK ***** Version: MPL 1.1/GPL 2.0/LGPL 2.1 The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. The Original Code is tuxedo. The Initial Developer of the Original Code is Mozilla. Portions created by the Initial Developer are Copyright (C) 2010 the Initial Developer. All Rights Reserved. Contributor(s): Frederic Wenzel <firstname.lastname@example.org> Alternatively, the contents of this file may be used under the terms of either the GNU General Public License Version 2 or later (the "GPL"), or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), in which case the provisions of the GPL or the LGPL are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of either the GPL or the LGPL, and not to allow others to use your version of this file under the terms of the MPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the GPL or the LGPL. If you do not delete the provisions above, a recipient may use your version of this file under the terms of any one of the MPL, the GPL or the LGPL. ***** END LICENSE BLOCK *****