Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 342 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 342 Rev 489
Line 14... Line 14...
14
tar cvzf consultation.tar.gz ../ --exclude="livraison" --exclude=".svn" --exclude="configurations/*.ini" --exclude="framework.php" --exclude="*.sh" --exclude=".buildpath" --exclude=".project"
14
tar cvzf consultation.tar.gz ../ --exclude="livraison" --exclude=".svn" --exclude="configurations/*.ini" --exclude="framework.php" --exclude="*.sh" --exclude=".buildpath" --exclude=".project"
15
# envoyer sur tela
15
# envoyer sur tela
16
scp consultation.tar.gz root@tela-botanica.org:/home/telabotap/www/eflore-test/.
16
scp consultation.tar.gz root@tela-botanica.org:/home/telabotap/www/eflore-test/.
Line 17... Line 17...
17
 
17
 
18
# se connecter sur tela botanica en ssh et effectuer le déploiement
18
# se connecter sur tela botanica en ssh et effectuer le déploiement
19
ssh root@tela-botanica.org "cd /home/telabotap/www/eflore-test/; rm -Rf consultation; mkdir consultation; cd consultation/; tar xvzf ../consultation.tar.gz; cp ../configurations/consultation/* . -R; cp ../configurations/consultation/.htaccess . ; chown telabotap:users /home/telabotap/www/eflore-test/consultation -R; chmod 755 /home/telabotap/www/eflore-test/consultation -R; exit";
19
ssh root@tela-botanica.org "cd /home/telabotap/www/eflore-test/; cd consultation; tar cvzf ../backup/consultation.tar.gz .; cd ../; rm -Rf consultation; mkdir consultation; cd consultation/; tar xvzf ../consultation.tar.gz; cp ../configurations/consultation/* . -R; cp ../configurations/consultation/.htaccess . ; chown telabotap:users /home/telabotap/www/eflore-test/consultation -R; chmod 755 /home/telabotap/www/eflore-test/consultation -R; exit";