Skip to content

Instantly share code, notes, and snippets.

@rotvulpix
Created Oct 13, 2014
Embed
What would you like to do?
Deploying Symfony2
<?php
shell_exec('rm -rf ../app/cache/*');
shell_exec('chmod -R 777 ../app/cache/*');
shell_exec('rm -rf ../app/logs/*');
shell_exec('chmod -R 777 ../app/logs/*');
#!/bin/bash
git pull
curl http://url-to.site/clear2.php
php app/console assets:install
chmod -R 777 app/cache/ app/logs/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment