Skip to content

Instantly share code, notes, and snippets.

@Telematica
Created July 12, 2019 01:21
Show Gist options
  • Save Telematica/300574677fe6a7ca10df7928bce9e305 to your computer and use it in GitHub Desktop.
Save Telematica/300574677fe6a7ca10df7928bce9e305 to your computer and use it in GitHub Desktop.
Symfony 2 deployment commands
php app/console assets:install --symlink web && php app/console cache:clear --env=prod && php app/console cache:warmup --env=prod && chmod -R 777 ./app/cache && php app/console assetic:dump --env=prod && php app/console cache:warmup --env=prod
php app/console assets:install --symlink web; php app/console cache:clear --env=prod; php app/console cache:warmup --env=prod; chmod -R 777 ./app/cache; php app/console assetic:dump --env=prod; php app/console cache:warmup --env=prod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment