1 / 30

Installation OpenBravo

Installation OpenBravo. Environnement de Développement. Etapes d’installation Openbravo.

bian
Download Presentation

Installation OpenBravo

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Installation OpenBravo Environnement de Développement

  2. Etapes d’installation Openbravo Les étapes dont on a suivit sont les suivantes: Installation de l’executableOpenbravo (sous VMWare), installation SGBD (PostgreSQL), installation JDK, Tomcat, Ant, Apache, Mercurial Clone, Configuration Openbravo

  3. SGBD: PostgreSql • Source: http://www.postgresql.org/download/ • Types de fichiers téléchargés: fichiers binaires dédiés pour Windows • Version: 9.1.1

  4. Installation PostgreSQL

  5. Installation PostgreSQL

  6. Installation PostgreSQL

  7. Installation PostgreSQL • Pour faire fonctionner PostgreSQL, on doit télécharger la répertoire uuid du site web: http://winpg.jp/~saito/pg_work/OSSP_win32/ • Ajouter cette répertoire au répertoire lib de PostgreSql et relancer l’application a nouveau

  8. PostgreSQL installé-Interface pgAdmin

  9. Installation JDK • Installation du Java SDK sur Microsoft Windows • Télécharger et installer JDK 1.6(Sun Java Development Kit version 1.6 (JDK 6.0)) • Ajouter la variable d’environnement JAVA_HOME: • My Computer_ Properties • Choisissez Advanced et puis cliquer sur « Environment Variables ». • Cliquer sur New. Une nouveau boite de dialogue s’ouvrira. • Dans l’attribut Variable name, taper JAVA_HOME. • Dans l’attribut Variable value taper le chemin de passe du répertoire d’installation du JDK. Probablement: C:\Java\jdk1.6.0_<version> • Sélectionner ensuite la variable d’environnement PATH. • Dans l’attribut Variable value, taper le chemin de passe de la répertoire binliée au répertoire d’installation du JDK. Probablement: C:\Java\jdk1.6.0_<version>\bin

  10. Installation JDK – Variables d’Environnement

  11. Installation Tomcat • Source: http://tomcat.apache.org/download-60.cgi

  12. Apache – Page d’acceuil Taper sur: http://127.0.0.1:8080/ :

  13. Installation Tomcat • Ajout des variables d’environnement suivantes: CATALINA_HOME, CATALINA_BASE et CATALINA_OPTS

  14. Téléchargement Apache Ant • Source: http://archive.apache.org/dist/ant/binaries/ • Version téléchargée: dernière version 1.7.x, la plus compatible avec OpenBravo • Autres propriétés: format de téléchargement « Zip file » avec MD5, algorithme de cryptage

  15. Téléchargement Apache Ant http://archive.apache.org/dist/ant/binaries/

  16. Apache Server, httpd Source: http://httpd.apache.org/download.cgi#apache22

  17. Apache Server, httpd

  18. Vérification de la réussite de l’installation Pour vérifier queApache est installé avec succès , on tape dans le browser: localhost, et on doit avoir affiché le message « It works ! »

  19. Installation ConncectorTomcat-Apache • Source:http://tomcat.apache.org/download-connectors.cgi • Installation du fichier: mod_jk.so • Insertion du fichier mod_jk.so dans la répertoire « modules » de Apache • Modification du fichier « httpd.conf » d’Apache pour déclarer les fichiers relatifs a mod_jk

  20. Installation du source code Les étapes d’installation du source code sont les suivantes: • Installation Mercurial • Clonage du source code via Mercurial (presque 600 MB de taille)

  21. Définition Mercurial • Mercurial est un système de gestion de versions permettant en particulier la gestion de version décentralisée. Il est disponible sur la plupart des systèmes Unix et Windows. (Outil de Source Code Management SCM)) • Mercurialest écrit principalement en Python. Il a été créé pour s'utiliser via des lignes de commandes. Toutes les commandes commencent par « hg », en référence au symbole chimique du mercure. Ses principales caractéristiques sont, entre autres : • sa rapidité et sa capacité à gérer les gros projets ; • son utilisation sans nécessiter un serveur ; • son fonctionnement complètement distribué ; • sa robustesse dans la gestion des fichiers ASCII et binaires ; • sa gestion avancée des branches et des fusions ;

  22. Téléchargement Mercurial • Téléchargement de Mercurial via le site web: http://mercurial.selenic.com/

  23. Clonage du source code • Après installation du Mercurial Client, on accède on “cmd” de Windows pour cloner le source code d’OpenBravo dans notre PC • On tape: $ hg clone http://code.openbravo.com/erp/devel/main OpenbravoERP-3.0MP3 • http://code.openbravo.com/erp/devel/main, étant le chemin relative a la location du source code • OpenbravoERP-3.0MP3, étant le nom de la répertoire dans laquelle le code va être place sur notre machine locale

  24. Répertoire du code sur le serveur http://code.openbravo.com/

  25. Source code sur sourceforge • http://openbravo.hg.sourceforge.net/hgweb/openbravo/

  26. Clonage du source code via Mercurial

  27. Clonage du source code via Mercurial • Site web source: code.openbravo.com • Taille du source code téléchargé: 579MB • Répertoire destination a été nommée « OpenbravoERP-3.OMP3» • Commande clonage: $ hg clone http://code.openbravo.com/erp/devel/main OpenbravoERP-3.0MP3

  28. Clonage du source code via Mercurial

  29. Configuration Openbravo • Exécuter la commande « ant setup » dans la répertoire d’Openbravo • Exécuter setup-properties-windows.exe , le wizard graphique de configuration • Configurer Openbravo.properties et log4j.lcf • Dans le cmd, executer la commande « antinstall.source » qui va créer la base de donnees a partir des fichiers .xml et installer Openbravo • Accéder Openbravo a partir de http://ip-address/openbravo dans le navigateur web

  30. Références Web • http://fr.wikipedia.org/wiki/Mercurial • http://code.openbravo.com/ • http://archive.apache.org/dist/ant/binaries/ • http://www.postgresql.org/download/ • http://winpg.jp/~saito/pg_work/OSSP_win32/ • http://tomcat.apache.org/download-60.cgi • http://httpd.apache.org/download.cgi#apache22 • http://tomcat.apache.org/download-connectors.cgi

More Related