Changeset 6ab0b45 for gutenbach-web


Ignore:
Timestamp:
Mar 25, 2009, 3:32:53 PM (16 years ago)
Author:
Edward Z. Yang <edwardzyang@…>
Branches:
master, debian, mac, no-cups, web
Children:
407f6f1
Parents:
6388b71
git-author:
Edward Z. Yang <edwardzyang@…> (03/25/09 15:32:53)
git-committer:
Edward Z. Yang <edwardzyang@…> (03/25/09 15:32:53)
Message:

Move server information to development.ini, and remove production.ini.
Signed-off-by: Edward Z. Yang <edwardzyang@…>

Location:
gutenbach-web
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • gutenbach-web/SOURCES.txt

    r6388b71 r6ab0b45  
    8383sipbmp3web/public/jquery/theme/images/ui-icons_cd0a0a_256x240.png
    8484sipbmp3web/templates/__init__.py
     85sipbmp3web/templates/__init__.pyc
    8586sipbmp3web/templates/about.html
    8687sipbmp3web/templates/debug.html
  • gutenbach-web/development.ini

    r973dd91 r6ab0b45  
    2727beaker.session.key = sipbmp3web
    2828beaker.session.secret = somesecret
     29sipbmp3.server = zygorthian-space-raiders.mit.edu
    2930
    3031# If you'd like to fine-tune the individual locations of the cache data dirs
  • gutenbach-web/root.py

    r6388b71 r6ab0b45  
    33from tg import expose, flash, require, url, request, redirect, validate
    44from pylons.i18n import ugettext as _
     5from pylons import config
    56#from tg import redirect, validate
    67from sipbmp3web.model import DBSession, metadata
     
    1718])
    1819
    19 server = "zygorthian-space-raiders.mit.edu"
    20 
    2120class RootController(BaseController):
    2221    error = ErrorController()
     
    2423    @expose('sipbmp3web.templates.index')
    2524    def index(self, **kw):
     25        server = config['sipbmp3.server']
    2626        out = dict(page="index")
    2727        volume = int(remctl(server, command=["volume", "get"]).stdout.rstrip())
Note: See TracChangeset for help on using the changeset viewer.