I have no experience setting up a web server, i need some guidance for this setup, any good articles would be appreciated.
MySQL is not mandatory. If postgres or any other django-supported DBMS is easier to setup开发者_StackOverflow or more efficient, that would do as well.
Since you didn't mention if you were deploying to linux or windows, I'm going to assume linux for my answer.
Jacob Kaplan Moss did a workshop last year at pycon, and the video is available here:
http://ontwik.com/python/django-deployment-workshop-by-jacob-kaplan-moss/
It is a pretty long video (3hrs) but it covers a lot of topics and is a good way to learn a lot in a short amount of time. The code that he used during the workshop is available on github:
https://github.com/jacobian/django-deployment-workshop
If you prefer to read instead of watch, here is a good article from the caktus group, describing how they deploy using virtualenv, fabric, pip, and rsync.
http://www.caktusgroup.com/blog/2010/04/22/basic-django-deployment-with-virtualenv-fabric-pip-and-rsync/
And last but not least here is a link on django deployments with mod_wsgi from the offical django documentation.
http://docs.djangoproject.com/en/dev/howto/deployment/modwsgi/
I hope this gets you going in the right direction.
Disclaimer: if you are not interested in a RTFM approach: please stop reading.
For the web server it is actually very easy to have an Apache instance installed on your Linux/Unix or Windows. Installation on other platforms is also treated.
Apache default configuration is OK in the most of (development) cases, so to configure Apache to work with Django is just a matter of reading the awesome official mod_wsgi documentation, in particular installation instructions first and Integration with Django then.
About the database it's also very easy. I'm adopting sqlite for development (efficient, no installation and no configuration). For production I'd probably use sqlite again or Postgres for "high traffic" sites.
Happy reading!
精彩评论