#!/bin/bash

export SYMFONY_ENV lsd
export APP_ENV lsd
export APPLICATION_ENV lsd

php composer.phar install

php app/console doctrine:schema:update --force --em=Backend
php app/console doctrine:schema:update --force --em=ServiceProvider
php app/console doctrine:schema:update --force --em=Webservice
php app/console doctrine:schema:update --force


chcon -t httpd_sys_rw_content_t /var/www/ls-sso-uws/var -R