Created
April 1, 2014 14:05
-
-
Save wwwbruno/9914746 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
# Atualizar servidor Symfony | |
# Atualiza o repositório | |
$ svn up # ou git pull | |
# Atualiza o banco de dados | |
$ php app/console doctrine:schema:update --force | |
# Dá permissão de leitura para o app_dev.php | |
$ chmod +r web/app_dev.php | |
# Faça os testes antes e verifique se está tudo ok | |
# Remove permissão de leitura para o app_dev.php | |
$ chmod -r web/app_dev.php | |
# Limpar o cache para atualizar os arquivos em produção | |
$ rm -R app/cache/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment