fixed path to db config & set preferred-install to dist in composer.json