added installation command (#838)

This commit is contained in:
Kevin Papst
2019-06-04 23:51:37 +02:00
committed by GitHub
parent 97feed0be6
commit 325d204332
12 changed files with 542 additions and 32 deletions

View File

@@ -114,7 +114,6 @@ class CreateReleaseCommand extends Command
$commands = [
'Clone repository' => $gitCmd . ' ' . $tmpDir,
'Install composer dependencies' => 'cd ' . $tmpDir . ' && composer install --no-dev --optimize-autoloader',
'Create .env file' => 'cd ' . $tmpDir . ' && cp .env.dist .env',
'Create database' => 'cd ' . $tmpDir . ' && bin/console doctrine:database:create -n',
'Create tables' => 'cd ' . $tmpDir . ' && bin/console doctrine:schema:create -n',
'Add all migrations' => 'cd ' . $tmpDir . ' && bin/console doctrine:migrations:version --add --all -n',