Skip to content

Instantly share code, notes, and snippets.

@codenamezjames
Last active November 8, 2017 18:27
Show Gist options
  • Save codenamezjames/a49ab756624cedb213bc05cff5c1c788 to your computer and use it in GitHub Desktop.
Save codenamezjames/a49ab756624cedb213bc05cff5c1c788 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
rm -rf var/cache/* var/page_cache/* var/generation/*
php bin/magento setup:upgrade
php bin/magento maintenance:disable
. ~/flush-magento.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment