Hi, folks. I have been building an appliance in a virtual machine. I have one TG2 instance running on one port which is the master dashboard for all applications. I have a second instance that I want to run which will provide some RESTful functionality on another port. I have two virtual environments, one running the dashboard application and another application and the second running the new (second TG) instance. It all starts up from a script in init.d when the virtual machine is started (or at least it is supposed to).
Now my real question is this. What is the best way to deploy the two TG instances? I can start one virtualenv in the setup script, but I get errors if I try to set up a second virtualenv. I still have to track down the nature of the errors, but the applications both run if I start them by hand in separate terminal sessions. This is what I am doing: Activate VirtualEnv1 (source path1_to_bin/activate) Start up applications from this virtualenv. Activate VirtualEnv2 (source path2_to_bin/activate) start up second TG instance. These are the alternatives I have thought to use: (1) deactivate the first VirtualEnv before activating the second (could be path issues) (2) Move everything around so that there is only one virtualEnv (3) Move everything out the virtualEnv. So, any strategic thoughts on how best to proceed? Thanks, Herb -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

