Created
January 20, 2014 17:56
-
-
Save jaytaph/8525290 to your computer and use it in GitHub Desktop.
Simple script that automatically creates and initializes a correct sf2 project for me.
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
#!/bin/sh | |
php composer.phar create-project symfony/framework-standard-edition $1 | |
cd $1 | |
ln -s web public | |
sed -i public/app_dev.php -e '/header/s|^|//|' -e '/exit/s|^|//|' | |
sudo setfacl -R -m u:www-data:rwX -m u:jthijssen:rwX app/cache app/logs | |
sudo setfacl -dR -m u:www-data:rwX -m u:jthijssen:rwX app/cache app/logs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment