Hello,

Do we have any standard/recommended way to distribute the python virtualenv 
used in a django application across multiple servers?

I'm able to write a provisioning script to do the following on a server,

(for brevity, this is just a high-overview)
* Clone the master branch of my django project
* Download, compile and alt-install python 3.5 from sources
* Create a virtualenv folder and configure my environment according to the 
requirements.txt of my django project
* setup httpd conf files, restart server .. etc

The OS I'm primarily targeting is centos7. For that matter, I'm doing my 
compiling on a centos7 box as well. 

My concern is that it feels wasteful to repeat the above steps on every 
system if I'm trying to scale across multiple machines. Is it possible to 
just provision the virtualenv on a single system, zip the folder and 
copy-paste to whichever systems I want to deploy to? Are there any concerns 
I need to be aware of, if I'm going by this approach?

Confused about django provisioning options,
Abraham V.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/31679960-a802-469c-aea9-6431ea765735%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to