Last active
September 22, 2016 23:03
-
-
Save ezy/94858987d1ee6dfed0fd6eaffe10b9bd to your computer and use it in GitHub Desktop.
PHP Symfony commands
This file contains hidden or 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
sudo rm -rf web/bundles/* | |
sudo rm -rf web/css/* | |
sudo rm -rf web/js/* | |
php app/console cache:clear | |
php app/console assets:install | |
php app/console assetic:dump | |
sudo rm -rf web/bundles/* ; sudo rm -rf web/css/* ; sudo rm -rf web/js/* ; sudo rm -rf var/logs/* ; sudo rm -rf /vagrant/var/cache/ ; php app/console assets:install ; php app/console assetic:dump | |
php app/console doctrine:migrations:migrate | |
Before switching branches, migrate down `php app/console doctrine:migrations:migrate 20160530162325`, then switch, then `php app/console doctrine:migrations:migrate` | |
sudo rm -rf /vagrant/var/cache/ | |
SELECT confirmation_token FROM user ORDER BY id DESC LIMIT 1 | |
sudo service elasticsearch start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment