Can someone help me get started on buildout for python Django projects?
My primary objective is to deploy applications to the developer, staging and production boxes.
Examples or pointers to opensource projects appre开发者_Python百科ciated.
Paulo's comment above to check http://jacobian.org/writing/django-apps-with-buildout/ is the first place you'll have to look.
If you use django with buildout, you just cannot live without the "djangorecipe" extension for buildout: http://pypi.python.org/pypi/djangorecipe
And, just to give you an example to get started with, I'd suggest:
$> sudo easy_install nensskel
$> nensskel -t nens_lizardsite test-site
And then you can look at the test-site directory for a couple of tricks (buildout.cfg in combination with a deploy.cfg, a settings.py plus a developmentsettings.py and so on).
(Nensskel is just a company-internal basic site/app/library generator I made, but it is instructive as an example to get you started with your own setup).
精彩评论