复制/复制Django开发环境 [英] Replicating/reproducing the Django development environment
问题描述
我听说过zc.buildout。只是看看它没有太深。看起来很复杂还有其他方式来实现吗?我的朋友使用的开发环境从GNU / Linux到MS Windows。
buildout.cfg:
[buildout]
parts = python
[python]
recipe = zc.recipe。 egg
eggs =
你的
蛋
依赖
这里
解释器= python
获取 bootstrap.py 。然后:
$ python bootstrap.py
$ bin / buildout
$ bin / python ...
I am working with my friends on a Django project. The project has dependencies on some python modules. I have django and those additional dependencies installed inside a virtualenv. The code of the django project is in a repository accessible to all the friends who can checkout/clone and then contribute code to it. But is there a way to replicate the setup that I have in my development environment in my friends' computers, i.e., something that will install all the additional dependencies and get the environment ready for deployment?
I have heard about zc.buildout. Just had a look at it without going too deep. It does appear complex. Are there other ways to achieve this? The development environments used by my friends vary from GNU/Linux to MS Windows.
buildout.cfg:
[buildout]
parts = python
[python]
recipe = zc.recipe.egg
eggs =
your
egg
dependencies
here
interpreter = python
Get bootstrap.py. Then:
$ python bootstrap.py
$ bin/buildout
$ bin/python ...
这篇关于复制/复制Django开发环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!