django-apache
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
django-apache [2014/06/12 14:33] – creata kobe | django-apache [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Deploy di Django su Apache2 ====== | ||
- | |||
- | |||
- | Abbiamo deciso di collocare la directory dell' | ||
- | cd /usr/local | ||
- | git clone $url | ||
- | |||
- | Configurare il settings.py in base alle istruzioni e alle singole esigenze dell' | ||
- | cd $nome_progetto | ||
- | cp $nome_progetto/ | ||
- | |||
- | Creare il file $nome_progetto/ | ||
- | import os, sys | ||
- | os.environ.setdefault(" | ||
- | sys.path = ['/ | ||
- | from django.core.wsgi import get_wsgi_application | ||
- | application = get_wsgi_application() | ||
- | |||
- | NB: corregge il path assoluto | ||
- | |||
- | |||
django-apache.1402583586.txt.gz · Last modified: 2014/10/28 11:28 (external edit)