mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 21:13:26 +00:00
11 lines
959 B
Bash
Executable File
11 lines
959 B
Bash
Executable File
rm -f config/configuration.yml config/services.yml config/connexions.yml config/config.yml config/config.inc config/connexion.inc config/_GV.php config/_GV.php.old || exit 1
|
|
cp -f hudson/connexion.inc config/ || exit 1
|
|
cp -f hudson/_GV.php config/ || exit 1
|
|
./bin/developer dependencies:all || exit 1
|
|
sudo mysql -e 'drop database ab_test;drop database db_test; drop database ab_unitTests; drop database db_unitTests;' || exit 1
|
|
sudo mysql -e 'create database ab_test;create database db_test; create database ab_unitTests; create database db_unitTests;' || exit 1
|
|
sudo mysql -e "GRANT ALL PRIVILEGES ON ab_unitTests.* TO 'phraseaUnitTests'@'localhost' IDENTIFIED BY 'iWvGxPE8' WITH GRANT OPTION" || exit 1
|
|
sudo mysql -e "GRANT ALL PRIVILEGES ON db_unitTests.* TO 'phraseaUnitTests'@'localhost' IDENTIFIED BY 'iWvGxPE8' WITH GRANT OPTION" || exit 1
|
|
sudo mysql -e "source `pwd`/hudson/fixtures.sql" || exit 1
|
|
sudo mysql -e 'SET @@global.sql_mode= "";' || exit 1
|