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 -x | |
| echo Are you at themes folder y/n? | |
| read IS_THEME_FOLDER | |
| if [ $IS_THEME_FOLDER != 'y' ];then | |
| exit | |
| fi | |
| if ! [ -d bootstrap ];then | |
| drush dl bootstrap | |
| fi | 
  
    
      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
    
  
  
    
  | <VirtualHost *:80> | |
| ServerAdmin admin@example.com | |
| ServerName site.loc | |
| DocumentRoot /var/www/html/site | |
| // For clean URL`s in drupal7. | |
| <Directory /var/www/html/> | |
| AllowOverride All | |
| Allow from all | 
  
    
      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
    
  
  
    
  | # Create new Nginx localhost config. | |
| scout@scout-machine:/etc/nginx/sites-available$ sudo cp d7 [YOUR_CONFIG] | |
| # Create a link from available to enable. | |
| scout@scout-machine:/etc/nginx/sites-enabled$ sudo ln -s /etc/nginx/sites-available/[YOUR_CONFIG] | |
| # Edit a hosts. You must added your new hostname. | |
| scout@scout-machine:/etc/nginx/sites-enabled$ sudo nano /etc/hosts | 
  
    
      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
    
  
  
    
  | <?php | |
| // To set up a local environment, make a duplicate of this file and name it | |
| // local-settings.inc in the site directory that contains the settings.php file. | |
| // Ignore sites/*/local-settings.php in the .gitignore file. Change the settings.php | |
| // file to include local-settings.php if the file exists. | |
| // Point database to local service. | |
| $databases['default']['default'] = array( | |
| 'database' => 'local_db_name', | |
| 'username' => 'root', | 
NewerOlder