#!/bin/bash

npm install
npm run build

composer install
./vendor/bin/doctrine-migrations migrate --no-interaction

echo "ServerName localhost" >> /etc/apache2/apache2.conf

# Start Apache server
apache2ctl -D FOREGROUND
