Make sure that you're running PHP 5.6:
php -vCreate a MariaDB (recommened) or a
MySql database; you'll need the database
host, name, user and password shortly.
Clone the code:
git clone --branch=develop https://github.com/mtm-aarhus/aaplus
cd aaplusInstall composer packages (you'll be asked for database and mailer settings during the installation):
SYMFONY_ENV=prod composer install --no-dev --optimize-autoloader
Install assets and update the database schema:
SYMFONY_ENV=prod app/console assets:install --symlink
SYMFONY_ENV=prod app/console cache:clear --no-warmup
SYMFONY_ENV=prod app/console cache:warmup
SYMFONY_ENV=prod app/console doctrine:migrations:migrate --no-interaction
SYMFONY_ENV=prod app/console aaplus:post-migrate
SYMFONY_ENV=prod app/console aaplus:post-migrate:20160711133430Set file system permissions: https://symfony.com/doc/2.7/setup/file_permissions.html
Create a super administrator user:
SYMFONY_ENV=prod app/console fos:user:create --super-adminFinally, set up a web server as described on https://symfony.com/doc/2.7/setup/web_server_configuration.html.