Hello all,
I am writing a python script which should first start my core api engine
as a service.
Then it is supposed to start the nginx server behind which the pylons
app will run.
Now the issue is that the python script does not allow me to fire
activate command.
the concerned line is os.system("source /opt/gkenv/bin/activate")
I think this is not the way how I can get the venv activated.
Basically nginx is doing a reverce proxy to paste http server.
So asuming I can't activate my virtual environment, can I paster serve
my app directly?
i will choose to do an os.system() in my startup python script.
Is this possible?
Happy hacking.
Krishnakant.
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en.