#!/bin/bash source ./update.sh cp config.ini.default config.ini sed -i "s/sgbd.config.username =/sgbd.config.username = opac/g" config.ini sed -i "s/sgbd.config.password =/sgbd.config.password = opac/g" config.ini sed -i "s/sgbd.config.dbname =/sgbd.config.dbname = opac/g" config.ini touch local.php php scripts/upgrade_db.php phpunit -c tests/phpunit.xml --exclude-group no-ci