On 21/02/2011 9:57, Benedict Verheyen wrote: > Hi, > > > i have a Django project in a virtualdev. > Because it was developed before Debian squeeze, i wanted a recent version of > python > and compiled my own 2.7 version, then installed that in my virtual dev. > > Now for deploying to the production server, i had following scenario in mind: > - install programs and database that my programs needs (postgresql and so on) > - get my project on the server via svn > - install virtualdev, and install the requirements i got via the freeze > command on the dev server. > - fix paths in Apache, Nginx > > However, here i have a problem. To make the virtualdev environment, i need to > python version 2.7 > and that's not available on the server. > The compiled version is available on the dev server. > What's the most elegant solution? > > Copy the whole virtual environment to the server? > Make a package of the python install? > > Thanks for any insight, > Benedict >
Hi, thanks for the info. I was hoping that i could avoid compiling python on the dev server as it's also a Debian Squeeze. Maybe i can make a package from it using checkinstall. As for Shawn's suggestions, I already use option 2 on my dev server. Cheers, Benedict -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.