User:Wenzel/Bouncer:Tuxedo Deployment

< User:Wenzel
Revision as of 14:23, 1 February 2010 by Wenzel (talk | contribs) (Created page with '== Deployment hints for Bouncer's Tuxedo Branch == [http://github.com/fwenzel/tuxedo/ Source code]: * <code>git clone git://github.com/fwenzel/tuxedo.git</code> * Make a virtua…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Deployment hints for Bouncer's Tuxedo Branch

Source code:

  • Make a virtualenv (probably with --no-site-packages), then easy_install pip.
  • pip install -r requirements.txt
  • Create a file local_settings.py in 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.