Created
August 22, 2012 07:59
-
-
Save krispypen/3423648 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo chmod -R 777 app/cache/ | |
sudo chmod -R 777 app/logs/ | |
rm -R app/cache/* | |
rm -R app/logs/* | |
php app/console --force doctrine:schema:drop | |
php app/console doctrine:schema:create | |
php app/console doctrine:fixtures:load | |
php app/console assets:install web | |
php app/console assetic:dump | |
php app/console cache:clear --env=dev | |
php app/console cache:clear --env=prod | |
php app/console cache:warmup | |
sudo chmod -R 777 app/cache/ | |
sudo chmod -R 777 app/logs/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment