up vote 1 down vote favorite
share [g+] share [fb]

How do I migrate from Python virtualdev environment to a Apache mod-python environment? I couldn't find a link anywhere on the internet that describes this. My config.py file is in the root of my virtualdev directory. I want to move it over to apache but I am unsure if I will be able to just copy it over or if its more complicated than that? Does it take additional software configuration (aside from db connection)?

link|improve this question

Maybe it's settings.py? – Oleksandr Bolotov Sep 5 '09 at 13:33
Im actually curious about how I would deploy Plurk-Solace . I have it working in a dev environment now. Is it just like an HTML page where you just copy the project files over into the APache root? – djangofan Sep 6 '09 at 18:54
feedback

1 Answer

When you say "virtualdev environment" I presume that you mean django-admin.py runserver.

mod_wsgi is now greatly favoured over mod_python for serving through Apache.

You shouldn't need much modification to your project at all. Just simply create a script file. There are some details about how in the docs - IntegrationWithDjango

link|improve this answer
There is no config.py file in Django so not sure that is what he meant. Can't think of any framework off hand that uses config.py. – Graham Dumpleton Sep 5 '09 at 0:21
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.