I think this question was asked before, but I couldnt find the topic.
Is there a way to run different versions of TG on the same system? I
have several sites that use an old svn revision of TG, and for the new
site I would like to use 1.0 branche.
Any hints?
thanks,
Ksenia.
I do this by using Ian Bicking's workingenv.py script to contain each
instance in its own seperate environment with its own set of
libraries:
http://blog.ianbicking.org/workingenv-revisited.html
--
anders pearson : http://www.columbia.edu/~anders/
C C N M T L : http://www.ccnmtl.columbia.edu/
weblog : http://thraxil.org/
thanks,
Ksenia.
thanks,
Ksenia.
Thank you anders! Can you give an example command how do you install
TG with workingenv? I tried several ways but got errors... i may be
missing something...
Ksenia
Pretty much just as it is on his blog:
$ wget http://svn.colorstudy.com/home/ianb/workingenv/workingenv.py
$ python workingenv.py -r http://svn.colorstudy.com/home/ianb/workingenv/tg-0.9.txt
$ source working-env/bin/activate
$ tg-admin quickstart
and I'm good to go in a new TG 0.9 environment (I keep 0.8 installed
system-wide for production apps that are still on it).
This works! I only had to download and modify tg-0.9.txt, to add all
missing libraries that tg-admin requires. Thanks again :)