我需要使用virtualenv和Vagrant吗? [英] Do I need to use virtualenv with Vagrant?

查看:110
本文介绍了我需要使用virtualenv和Vagrant吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用VirtualBox手动设置与其中的virtualenvs在我的本地机器上运行Django项目。最近我发现了Vagrant,决定改用它,因为它似乎很容易和有用。

但是我无法想象 - 我还需要使用virtualenv Vagrant VM吗?是鼓励练习还是禁止?

I was used VirtualBox manual setups with virtualenvs inside them to run Django projects on my local machine. Recently I discovered Vagrant and decided to switch to it, because it seems very easy and useful.
But I can not figure - do I need still use virtualenv Vagrant VM, is it encouraged practice or forbidden?

推荐答案

如果您每个项目运行一个流氓虚拟机,那么没有直接的理由使用virtualenv。

If you run one vagrant VM per project, then there is no direct reason to use virtualenv.

如果其他贡献者不使用流氓,但是使用virtualenv那么你可能想要使用它并支持它来使他们的生活更轻松。

If other contributors do not use vagrant, but do use virtualenv, then you might want to use it and support it to make their lives easier.

这篇关于我需要使用virtualenv和Vagrant吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆