I need to set up a one-click deployment from development to  
production. What tool(s) are currently best-of-breed in the Django  
community? Thanks in advance.

The tool must be able to automate the following manual process:

1. Log into the production server via ssh, using a user ID which  
requires a password (no public key encryption).

2. Run 'sudo bash' then 'su - otheruser,' where otheruser is the ID  
under which Django runs. I can't log in via ssh directly
as this user for security reasons, and they have no password, so I  
can't directly su to that account.

3. As 'otheruser':
     killall python
     cd $SITE
     ./manage.py migrate
     ./manage.py runfcgi host=127.0.0.1 port=8100 -- 
settings=companyname.web.sitename.settings
     ./manage.py runfcgi host=127.0.0.1 port=8200 -- 
settings=companyname.web.othersite.settings
     ./manage.py runfcgi host=127.0.0.1 port=8300 -- 
settings=companyname.web.coolsite.settings
     ./manage.py runfcgi host=127.0.0.1 port=8400 -- 
settings=companyname.web.funsite.settings

4. (Possibly optional but highly desirable):
        kill and restart nginx, which requires satisfying the prompts for the  
passkeys for each SSL certificate we use.




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to