Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
|
tinyerp_7.10 [Le 30/12/2007, 12:32] jacxof Modification option de decompression |
tinyerp_7.10 [Le 11/09/2022, 11:50] (Version actuelle) moths-art Suppression des espaces en fin de ligne (détecté et corrigé via le bot wiki-corrector (https://forum.ubuntu-fr.org/viewtopic.php?id=2067892) |
||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | {{tag>entreprise erp crm bureautique comptabilité BROUILLON}} | ||
| + | |||
| + | ---- | ||
| + | |||
| ==== Installation des pré-requis ==== | ==== Installation des pré-requis ==== | ||
| Les paquets suivants doivent être installé : | Les paquets suivants doivent être installé : | ||
| - | [[apt://postgresql|postgresql]] , | + | [[apt://postgresql|postgresql]] , |
| - | [[apt://python-libxslt1|python-libxslt1]] , | + | [[apt://python-libxslt1|python-libxslt1]] , |
| - | [[apt://python-psycopg|python-psycopg]] , | + | [[apt://python-psycopg|python-psycopg]] , |
| - | [[apt://python-reportlab|python-reportlab]] , | + | [[apt://python-reportlab|python-reportlab]] , |
| - | [[apt://python-tz|python-tz]] , | + | [[apt://python-tz|python-tz]] , |
| - | [[apt://python-imaging|python-imaging]] , | + | [[apt://python-imaging|python-imaging]] , |
| - | [[apt://python-pyparsing|python-pyparsing]] , | + | [[apt://python-pyparsing|python-pyparsing]] , |
| + | [[apt://python-matplotlib|python-matplotlib]] , | ||
| [[apt://graphviz|graphviz]] | [[apt://graphviz|graphviz]] | ||
| [[apt://xpdf|xpdf]] | [[apt://xpdf|xpdf]] | ||
| ==== Installation du serveur ==== | ==== Installation du serveur ==== | ||
| - | * Téléchargez le programme à cette adresse : http://tinyerp.com/download/stable/source/tinyerp-server-4.2.1.tar.gz | + | * Téléchargez le programme à cette adresse : http://tinyerp.com/download/stable/source/tinyerp-server-4.2.2.tar.gz |
| * Décompressez le fichier | * Décompressez le fichier | ||
| - | * Lancez le programme setup.py | + | * Lancez le programme setup.py install |
| + | |||
| ==== Parametrage de postgres ==== | ==== Parametrage de postgres ==== | ||
| Définir le mot de passe de l'utilisateur unix postgres : | Définir le mot de passe de l'utilisateur unix postgres : | ||
| Ligne 59: | Ligne 65: | ||
| ==== Demarrage du serveur tinyerp ==== | ==== Demarrage du serveur tinyerp ==== | ||
| + | |||
| + | |||
| ==== Installation du client tinyerp ==== | ==== Installation du client tinyerp ==== | ||
| - | * Téléchargez http://tinyerp.com/download/stable/source/tinyerp-client-4.2.1.tar.gz | + | * Téléchargez http://tinyerp.com/download/stable/source/tinyerp-client-4.2.2.tar.gz |
| - | * Decompressez tinyerp-client-4.2.1.tar.gz | + | * Decompressez tinyerp-client-4.2.2.tar.gz |
| * lancer setup.py | * lancer setup.py | ||
| + | |||
| + | |||
| + | |||
| + | |||
| ==== Ligne de commande ==== | ==== Ligne de commande ==== | ||
| sudo clear | sudo clear | ||
| sudo aptitude install -y postgresql python-libxslt1 python-psycopg python-tz python-imaging python-pyparsing graphviz python-reportlab xpdf | sudo aptitude install -y postgresql python-libxslt1 python-psycopg python-tz python-imaging python-pyparsing graphviz python-reportlab xpdf | ||
| cd /tmp | cd /tmp | ||
| - | wget http://tinyerp.com/download/stable/source/tinyerp-server-4.2.1.tar.gz | + | wget http://tinyerp.com/download/stable/source/tinyerp-server-4.2.2.tar.gz |
| - | tar xvzf tinyerp-server-4.2.1.tar.gz | + | tar xvzf tinyerp-server-4.2.2.tar.gz |
| - | cd tinyerp-server-4.2.1/ | + | cd tinyerp-server-4.2.2/ |
| sudo python setup.py install | sudo python setup.py install | ||
| sudo passwd postgres | sudo passwd postgres | ||
| Ligne 80: | Ligne 92: | ||
| sudo -u postgres createdb -O terp terp | sudo -u postgres createdb -O terp terp | ||
| sudo -u postgres psql -l | sudo -u postgres psql -l | ||
| - | sudo sed -i -e 's|ident sameuser|md5|g' /etc/postgresql/8.2/main/pg_hba.conf | + | sudo sed -i -e 's|ident sameuser|md5|g' /etc/postgresql/8.3/main/pg_hba.conf |
| - | sudo invoke-rc.d postgresql-8.2 restart | + | sudo invoke-rc.d postgresql-8.3 restart |
| cd /usr/lib/python2.5/site-packages/tinyerp-server/ | cd /usr/lib/python2.5/site-packages/tinyerp-server/ | ||
| sudo python tinyerp-server.py -r terp -d terp -w terp -s | sudo python tinyerp-server.py -r terp -d terp -w terp -s | ||
| sudo tinyerp-server & | sudo tinyerp-server & | ||
| cd /tmp | cd /tmp | ||
| - | wget http://tinyerp.com/download/stable/source/tinyerp-client-4.2.1.tar.gz | + | wget http://tinyerp.com/download/stable/source/tinyerp-client-4.2.2.tar.gz |
| - | tar xf tinyerp-client-4.2.1.tar.gz | + | tar xf tinyerp-client-4.2.2.tar.gz |
| - | cd tinyerp-client-4.2.1/ | + | cd tinyerp-client-4.2.2/ |
| sudo python setup.py install | sudo python setup.py install | ||
| | | ||