Chimere : Différence entre versions

De FunLab Documentation
Aller à : navigation, rechercher
(Page créée avec « == Chimere == === 1Dépendences Day === (apache?!) python-django python-psycopg postgresql postgresql-gis partir d'une wheezy a jour! <code> apt-get install apache2... »)
 
(Aucune différence)

Version actuelle datée du 20 avril 2017 à 13:50

Chimere

1Dépendences Day

(apache?!) python-django

python-psycopg

postgresql

postgresql-gis

partir d'une wheezy a jour!

apt-get install apache2 python python-django python-django-south \
    postgresql-9.1 gettext python-psycopg2 python-imaging \
    python-pyexiv2 python-beautifulsoup python-simplejson python-gdal \
    python-lxml libjs-jquery libjs-jquery-ui python-feedparser \
    libgeos-3.3.3 proj-bin postgresql-9.1-postgis gdal-bin \
    tinymce gpsbabel python-django-celery javascript-common
    
    apt-get install libapache2-mod-wsgi libpq-dev

    su postgres
createuser --echo --adduser --createdb --encrypted --pwprompt chimere-user
#prompt du root django/chimere
PG_VERSION=9.1 # 8.4 for debian Squeeze

createdb --echo --owner chimere --encoding UNICODE chimere "My Chimère database"
createlang plpgsql chimere # only necessary on Debian Squeeze

psql -d chimere -f /usr/share/postgresql/$PG_VERSION/contrib/postgis-1.5/postgis.sql
psql -d chimere -f /usr/share/postgresql/$PG_VERSION/contrib/postgis-1.5/spatial_ref_sys.sql

docs

https://chimere.readthedocs.org/en/v2.0/install.html