Deploy django application, set up another machine
This entry is related to the series "Deploy django applications with nginx, uwsgi, virtualenv, south, git and fabric", the first part here.
So what happens here? Really nothing special, I've changed my working machine and so I had to set up my django projects on the new notebook. This post is only a remainder of the followed steps.
Install all the required system packages
Clearly I had to install some packages in the new machine:
- mysql-server
- python
- python-dev
- python-setuptools
- build-essentials
- libmysqlclient-dev
- git
And also I've installed pip and virtualenv
Create the folder structure and the virtualenv
First of all create a directory which will contain the project, I've created it under /var/www:
$ mkdir /var/www/myproject ...