| | 28 | |
| | 29 | == Migration == |
| | 30 | |
| | 31 | 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. |
| | 32 | |
| | 33 | Partly because we have to use a virtualenv to install python, partly for permission issues. |
| | 34 | |
| | 35 | 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 : |
| | 36 | |
| | 37 | {{{ |
| | 38 | activate_this = os.path.expanduser("/local/python/virtualenv/bin/activate_this.py") |
| | 39 | execfile(activate_this, dict(__file__=activate_this)) |
| | 40 | }}} |
| | 41 | |