<div dir="ltr"><div>Hi Ahmed,<br></div><div><br>We are similar, we run ubuntu, and use pip, npm, rvm as alternate package managers. We basically decide if the project is stable/changes less than quarterly, use the apt-get package, otherwise use whatever package manager for the language you're using as they will almost always be more up to date. To ensure consistency between environments, all servers have a base set of pip/npm/rvm packages that are managed just like apt packages (i.e. when we run upgrades we do them as well for the system), and everything else is managed in isolated containers per application. This means we can pick up an app from any of our app servers and it will run on any other one, but also lets apps run newer/different versions of packages if required. Virtualenv's/node local packages are very useful for sorting this out (we have a lot less ruby than python/js so the one app now just uses system packages).<br>
<br></div>Kind Regards,<br>Adon<br><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 16, 2013 at 1:37 AM, Ahmed Kamal <span dir="ltr"><<a href="mailto:kim0@ubuntu.com" target="_blank">kim0@ubuntu.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi there,<div><br></div><div>We're building (and deploying) a large scale app (python+rails+mongodb) and others. Now developers are running rampant install python dependencies from pip, and ruby stuff with rvm...etc. Some of the packages needed, are in apt repos, some are older versions, and some are not there at all.</div>
<div><br></div><div>Now I'd like to pick the pool of expertise here:</div><div>- Where do we draw the line, between using OS packages vs pip/rvm</div><div>- How do we best ensure same environment on dev env, vs production env</div>
<div>- What are the best practices here</div><div><br></div><div>Thanks for sharing</div></div>
<br>--<br>
ubuntu-server mailing list<br>
<a href="mailto:ubuntu-server@lists.ubuntu.com">ubuntu-server@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-server" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-server</a><br>
More info: <a href="https://wiki.ubuntu.com/ServerTeam" target="_blank">https://wiki.ubuntu.com/ServerTeam</a><br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Adon Metcalfe
</div></div></div>