Skip to content

Instantly share code, notes, and snippets.

@wwwbruno
Created April 1, 2014 14:05
Show Gist options
  • Save wwwbruno/9914746 to your computer and use it in GitHub Desktop.
Save wwwbruno/9914746 to your computer and use it in GitHub Desktop.
# 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