We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bdc378 commit ccb7f68Copy full SHA for ccb7f68
web/reload-fixtures.php
@@ -18,5 +18,8 @@ function runCommand($command)
18
}
19
20
21
-runCommand(__DIR__.'/../bin/console cache:clear -e=prod');
22
-runCommand(__DIR__.'/../bin/console -v doctrine:phpcr:fixtures:load -e=prod');
+runCommand('rm -rf app/cache/prod');
+runCommand(__DIR__.'/../bin/console --env=prod doctrine:phpcr:init:dbal --drop --force');
23
+runCommand(__DIR__.'/../bin/console --env=prod doctrine:phpcr:repository:init');
24
+runCommand(__DIR__.'/../bin/console -v --env=prod doctrine:phpcr:fixtures:load -n');
25
+runCommand(__DIR__.'/../bin/console --env=prod cache:warmup -n --no-debug');
0 commit comments