> On Feb 10, 2015, at 5:13 AM, Jonathan Gazeley > <[email protected]> wrote: > > Hi folks, > > The developers at my place are designing a new set of webapps, which will be > written in Python/Django. This is new to us (our old stuff is nasty Perl) and > I've been asked to look at how to deploy these new apps using Puppet. > > The Django apps will be developed in Git repos and releases will be tagged so > I am envisaging using puppetlabs/vcsrepo to deploy releases of the apps to > the web server's filesystem. The developers want to use virtualenv to handle > dependencies in their apps. Is there are a recommended method among other > Puppet admins to deploy Django apps from git with virtualenv and have them > served preferably with Apache or Nginx? > > I can't find a monolithic module to do this on the Forge so if nobody has a > wiser suggestion, I will probably write something using puppetlabs/vcsrepo, > stankevich/python and puppetlabs/apache. >
There are plenty of little problems you'll need to solve here. As for the server, my preference is to use Nginx and reverse-proxy to Apache + mod_wsgi. A good way to set up the Django python stuff is to make one or more python packages and install them using pip. This approach works well with git, virtualenv and puppet. Then you'll be left to deal with Django itself... Charles Yeomans -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/B5ADABCB-5962-47BC-81E2-081A34E12B36%40dakim.com. For more options, visit https://groups.google.com/d/optout.
