Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Not decided yet on the definitive solution, but that's what's going on right now partly based on @nutjob comments (no, I haven't switched to buildout for the time being but I will take some time for it later on!)</p> <p>I have a big, powerful server with quite a lot of django applications. I mostly use gunicorn + supervisord.</p> <p>These requirements dictate the following, but slightly different settings will probably make it different.</p> <ol> <li>I have logically organized these applications in clusters, based on code/functions similarities; each cluster will likely have the same version of common python libs (pylibmc, pillow, etc.)</li> <li>I create a few users, one for each cluster</li> <li>For each user I install a virtualenv (with the same name as the user, for my own choice) by downloading virtualenv.py and running <code>python virtualenv.py VIRTUALENVNAME</code>; I don't install virtualenv wrapper</li> <li>I edit that user .bashrc so that the virtualenv is immediately loaded</li> <li>I install the common packages with pip, but more specific packages are added directly through sys.path This allows me an even faster deployment, because of the folder/versioning project structure that carries all most of the required libraries there. I find this more clear, faster to deploy, and easier to edit. Mileage for your individual cases might vary.</li> </ol> <p>This means each user has is own, single virtualenv.</p> <p>Should I start all over I would probably move to a buildout or similar solution (I'm not a big fan of what happens when you mix supervisor and virtualenv), but I'm right now pretty happy with this one...</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload