Skip to content

Instantly share code, notes, and snippets.

@klaussilveira
Created June 2, 2011 17:57
Show Gist options
  • Save klaussilveira/1004909 to your computer and use it in GitHub Desktop.
Save klaussilveira/1004909 to your computer and use it in GitHub Desktop.
Symfony bootstrap
#!/bin/bash
if [ $1 ]
then
mkdir -p lib/vendor
wget http://www.symfony-project.org/get/symfony-1.4.13.tgz
tar -zxvf symfony-1.4.13.tgz
mv symfony-1.4.13 lib/vendor/symfony
rm symfony-1.4.13.tgz
php lib/vendor/symfony/data/bin/symfony generate:project $1
php symfony generate:app frontend
else
echo "Please, provide the project name"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment