| [ Index ] |
PHP Cross Reference of GASELL SVN Trunk |
[Summary view] [Print] [Text view]
1 #!/bin/bash 2 # 3 # Gasell: Copyright 2007 Linux-Nantes Association <contact@gasell.org> 4 # 5 # You should have received a copy of the GNU Public 6 # License along with this package; if not, write to the 7 # Free Software Foundation, Inc., 59 Temple Place - Suite 330, 8 # Boston, MA 02111-1307, USA. 9 # 10 # Authors: Raude-Morvan Damien (DrazziB) <drazzib@drazzib.com> 11 12 source gasell-make-co.sh 13 14 # DEBUT CONF 15 DB_NAME=gasell 16 DB_USER=gasell # Pre-requis, ce login doit etre cree 17 DB_PASS=gasell 18 # FIN CONF 19 20 # Suppression de l'ancien export 21 rm -rf $INSTALL_DIR 22 # Et de la base qui va avec 23 su postgres -c "dropdb $DB_NAME" 24 25 # Copie de l'export SVN 26 mkdir -p $INSTALL_DIR 27 cp -R $EXPORT_DIR/trunk/gasell/* $INSTALL_DIR 28 cp -R $EXPORT_DIR/trunk/modules/compta/* $INSTALL_DIR 29 30 rm -rf $INSTALL_DIR/external 31 cp -Ra /root/scripts/gasell/external $INSTALL_DIR 32 33 # Recreation de la base de donnees 34 su postgres -c "createdb -E LATIN9 -O $DB_USER $DB_NAME" 35 36 # Lancement de l'install avec les bons parametres 37 cd $INSTALL_DIR/setup/ ; php -f install.php text \ 38 config_file=ist_core.xml \ 39 DB_HOST=localhost \ 40 DB_USER=$DB_USER \ 41 DB_PASSWD=$DB_PASS \ 42 DB_NAME=$DB_NAME \ 43 USER_LOGIN=gasell \ 44 USER_PASSWORD=gasell \ 45 ASSO=gasell \ 46 INSTALL_ROOT_DIRECTORY=$INSTALL_DIR 47 48 cd $INSTALL_DIR/setup/ ; php -f install.php text \ 49 config_file=ist_compta.xml \ 50 DB_HOST=localhost \ 51 DB_USER=$DB_USER \ 52 DB_PASSWD=$DB_PASS \ 53 DB_NAME=$DB_NAME 54 55 # Supression du repertoire setup 56 rm -rf $INSTALL_DIR/setup/ 57 58 # Suppression du repertoire de test 59 rm -rf $INSTALL_DIR/testing/
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Tue Jan 6 01:17:25 2009 | Cross-referenced by PHPXref 0.7 |