User:Wenzel/Bouncer:Tuxedo Deployment
Jump to navigation
Jump to search
Deployment hints for Bouncer's Tuxedo Branch
git clone git://github.com/fwenzel/tuxedo.git
- Make a virtualenv (probably with
--no-site-packages), theneasy_install pip. pip install -r requirements.txt
- Create a file
local_settings.pyin the tuxedo dir and put the settings into it that you want to change from settings.py, here's mine:
$ cat local_settings.py
DATABASE_ENGINE = 'mysql' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
DATABASE_NAME = 'mybouncerdb' # Or path to database file if using sqlite3.
DATABASE_USER = 'fred' # Not used with sqlite3.
DATABASE_PASSWORD = 'fred' # Not used with sqlite3.
DATABASE_HOST = 'server' # Set to empty string for localhost. Not used with sqlite3.
DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
DATABASE_OPTIONS = {
"init_command": "SET storage_engine=INNODB",
}
CACHE_BACKEND = 'memcached://127.0.0.1:11211/'
- When upgrading from an older version of Bouncer, follow the steps "Upgrading an older version of Bouncer" in the README.