Hey Graham, Well... at the moment it targets mod_python, but there isn't any reason for such deployment options not to be added so it calculates the dependencies and configs based on those choices. I was trying to make sure there was room for postgress, other httpd servers and other kinds of settings in case people wanted to expand into those areas.
Best Regards, Martin Owens On Jul 20, 10:30 pm, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > Are you targeting mod_python or mod_wsgi? > > On Jul 21, 8:33 am, DoctorMO <[EMAIL PROTECTED]> wrote: > > > Hey all, > > > In order to deploy multiple django based websites I've created a set > > of scripts which build the setup.py and debian directory for deb based > > deployment of django websites. At the moment it handles apache > > configuration, mysql database creation (with random passwords) and > > setting up the settings.template file. > > > I'm putting it up for others in case your interested in something > > similar. I haven't intended it as a serious project that everyone will > > use or anything so you may find there are some assumptions that it > > makes about the structures of a website project which don't apply. > > > Code in a bzr branch here:https://code.launchpad.net/django-deployer > > > To install you can either use the setup.py (create an rmp or whatever) > > or build the deb, you'll need moxml (https://code.launchpad.net/ > > ~doctormo/python-moxml/trunk) which just saves all the settings in > > xml. > > > To use go into your django project directory (the parent to your site > > directory) > > > django-build.py --build-settings > > *Follow instructions* > > django-build.py > > debuild (to make the deb) > > > If you want to make an rpm version, you need to run setup.py rpm > > builder with --post-install=debian/postinst to include the post > > install script. > > > Let me know if anyone finds it useful. > > > Best Regards, Martin Owens --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

