Skip to content

Instantly share code, notes, and snippets.

@baumannsven
Last active August 28, 2018 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baumannsven/dabcc9fa16ca89007103b5795c1e031e to your computer and use it in GitHub Desktop.
Save baumannsven/dabcc9fa16ca89007103b5795c1e031e to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
rm -rf var/cache
# If the console using not same version as the web, then add before vendor the executable php command.
vendor/bin/contao-console cache:warmup --env=pro
vendor/bin/contao-console cache:warmup --env=dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment