#!/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 ./bin/developer ini:reset --email=test@phraseanet.com --password=test --run-patches --no-setup-dbs php resources/hudson/cleanupSubdefs.php ./bin/developer ini:setup-tests-dbs ./bin/developer phraseanet:regenerate-sqlite