mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 19:43:16 +00:00
12 lines
851 B
Bash
Executable File
12 lines
851 B
Bash
Executable File
composer install --dev
|
|
./bin/developer dependencies:all || exit 1
|
|
./bin/developer system:uninstall || exit 1
|
|
cp -f hudson/connexion.inc config/ || exit 1
|
|
cp -f hudson/_GV.php config/ || 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
|