Friday, June 3, 2011

Re: Setting up dev/test/production environments on the server (dreamhost)

Well even if I do my Python stuff in virtualenv for development on a linode box, I'd like to know how to separate development/test environment to live/production.

Is the only solution "...IP whitelisting to block only those who you want to have access..."?

Also, can I run multiple instances of same Django website on dev.website.com, test.website.com and www.website.com?




On Fri, Jun 3, 2011 at 4:28 PM, Shawn Milochik <shawn@milochik.com> wrote:
On 06/03/2011 04:16 PM, Amanjeev Sethi wrote:
Linode looks nice plus it will teach me some administration side too.

If I try using linode, what is the best setup (Linux Distro, web server support, modules like mod_wsgi? etc ) for Django websites on linode?



Use whatever distro you like and do all your Python stuff in virtualenv.

For deployment I use and recommend nginx + gunicorn.

Use supervisord to run gunicorn.

Shawn



--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.




--
AJ

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment