Created
          June 2, 2011 17:57 
        
      - 
      
- 
        Save klaussilveira/1004909 to your computer and use it in GitHub Desktop. 
    Symfony bootstrap
  
        
  
    
      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/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