Changes between Version 7 and Version 8 of Trac
- Timestamp:
- 03/06/13 15:56:04 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Trac
v7 v8 5 5 == Current Deployment == 6 6 7 The Trac system is being delivered from the new http://lcbru-trac.rcs.le.ac.uk/ site, which is provided from LAMP-51. 7 The 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 9 It makes some limited use of the Genshi templating system, in /local/trac-deploy/templates 10 11 Partly 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 {{{ 14 activate_this = os.path.expanduser("/local/python/virtualenv/bin/activate_this.py") 15 execfile(activate_this, dict(__file__=activate_this)) 16 }}} 8 17 9 18 10 19 == Previous Deployment == 20 11 21 Trac was previously deployed on briccs-7, a VM hosted on briccs-1.rcs.le.ac.uk 12 22 … … 30 40 There 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. 31 41 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