This script configures linux machine to run django projects. You can use it
as template to develop your own installation script.
This script works with debian machine, it uses aptitude to install webserver,
database, python, gcc, virtualenv, pip, etc.
Webserver stack is nginx + uwsgi + django + postgres.
Fork from http://bitbucket.org/lorien/django-server
How to use it?
1) Buy VPS. Get root SSH credentials. Setup RSA authorization::
2) Log in as root
3) Download the script:
wget --no-check-certificate -O ~/install.sh http://bitbucket.org/mayday/django-server/raw/tip/install.sh
4) Run the script:
$ bash ~/install.sh
During executing you'll need to answer aptitude questions how to resolve
package version issues.
That's all. Of course, you can and should adapt script for you taste.
The script is self-documented, being the simple shell script.
Some extra comments in russian could be found here:
Tested on Ubuntu 12.04 LTS