Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 311 Rev 388
Line 14... Line 14...
14
tar cvzf services.tar.gz services/ --exclude=".svn" --exclude="*.ini" --exclude="framework.php" --exclude="*.sh"
14
tar cvzf services.tar.gz services/ --exclude=".svn" --exclude="*.ini" --exclude="framework.php" --exclude="*.sh"
15
# envoyer sur tela
15
# envoyer sur tela
16
scp services.tar.gz root@tela-botanica.org:/home/telabotap/www/eflore-test/.
16
scp services.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 services; tar xvzf services.tar.gz; cd services; cp ../configurations/services/* . -R;  chown telabotap:users /home/telabotap/www/eflore-test/services -R; chmod 755 /home/telabotap/www/eflore-test/services -R; exit";
19
ssh root@tela-botanica.org "cd /home/telabotap/www/eflore-test/; cd services; tar cvzf ../backup/services.tar.gz .; cd ../; rm -Rf services; tar xvzf services.tar.gz; cd services; cp ../configurations/services/* . -R;  chown telabotap:users /home/telabotap/www/eflore-test/services -R; chmod 755 /home/telabotap/www/eflore-test/services -R; exit";