Files
Phraseanet/tests/bootstrap.sh
2015-03-11 15:22:20 +01:00

15 lines
630 B
Bash
Executable File

#!/usr/bin/env bash
set -e
if ! ./bin/developer system:uninstall > /dev/null 2>&1
then
rm -f config/configuration.yml config/configuration-compiled.php
fi
./bin/setup system:install --email=test@phraseanet.com --password=test --db-user=root --db-template=fr --db-password=toor --databox=db_test --appbox=ab_test --server-name=http://127.0.0.1 -y -vvv
./bin/developer ini:reset --email=test@phraseanet.com --password=test --run-patches --no-setup-dbs -vvv
php resources/hudson/cleanupSubdefs.php
./bin/developer ini:setup-tests-dbs -vvv
./bin/console searchengine:index:create
./bin/developer phraseanet:regenerate-sqlite -vvv