Skip to content

Commit ccb7f68

Browse files
committed
do same as on "cron" for reload fix command
1 parent 4bdc378 commit ccb7f68

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

web/reload-fixtures.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@ function runCommand($command)
1818
}
1919
}
2020

21-
runCommand(__DIR__.'/../bin/console cache:clear -e=prod');
22-
runCommand(__DIR__.'/../bin/console -v doctrine:phpcr:fixtures:load -e=prod');
21+
runCommand('rm -rf app/cache/prod');
22+
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

Comments
 (0)