Changes between Version 7 and Version 8 of Trac


Ignore:
Timestamp:
03/06/13 15:56:04 (12 years ago)
Author:
Nick Holden
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Trac

    v7 v8  
    55== Current Deployment ==
    66
    7 The Trac system is being delivered from the new http://lcbru-trac.rcs.le.ac.uk/ site, which is provided from LAMP-51.
     7The Trac system is being delivered from the new http://lcbru-trac.rcs.le.ac.uk/ site, which is provided from LAMP-51. The trac 'environment' is /local/lcbru-trac and the deploy directory is /local/trac-deploy.
     8
     9It makes some limited use of the Genshi templating system, in /local/trac-deploy/templates
     10
     11Partly because we have to use a virtualenv to install python, partly for permission issues, the deployment on SuSE with restricted permissions (i.e. a UOL LAMP server) is not easy. What made the difference in the end was to get the wsgi to run with the same virtualenv as I had used to install trac from the command line, by inserting the following two lines in the /local/trac-deploy/cgi-bin/trac.wsgi :
     12
     13{{{
     14activate_this = os.path.expanduser("/local/python/virtualenv/bin/activate_this.py")
     15execfile(activate_this, dict(__file__=activate_this))
     16}}}
    817
    918
    1019== Previous Deployment ==
     20
    1121Trac was previously deployed on briccs-7, a VM hosted on briccs-1.rcs.le.ac.uk
    1222
     
    3040There is a Trac module for storing passwords in a database, which should makes managing user accounts and passwords a lot easier. We should consider whether we need to install this before we issue passwords to the hospital staff. Depends how many people need write access.
    3141
    32 == Migration ==
    33 
    34 Getting trac to work on lcbru-trac.rcs.le.ac.uk (which is an alias for the public interface of lamp-51, was something of a pain.
    35 
    36 Partly because we have to use a virtualenv to install python, partly for permission issues.
    37 
    38 What made the difference in the end was to get the wsgi to run with the same virtualenv as I had used to install trac from the command line, by inserting the following two lines in the /local/trac-deploy/cgi-bin/trac.wsgi :
    39 
    40 {{{
    41 activate_this = os.path.expanduser("/local/python/virtualenv/bin/activate_this.py")
    42 execfile(activate_this, dict(__file__=activate_this))
    43 }}}
    44