...
Code Block |
---|
sudo apt-get install nginx git-core python-virtualenv postfix openjdk-6-jdk build-essential postgresql python-psycopg2 libpq-dev python-dev
|
...
Code Block | ||
---|---|---|
| ||
# Static serve #(r'^site_media/(?P<path>.*)$', 'django.views.static.serve', # {'document_root': settings.STATIC_DEV_MEDIA}), |
Install nginx and gunicorn.
Code Block |
---|
sudo apt-get install nginx
pip install gunicorn
|
Create a gunicorn start file.
...