Skip to content

Commit

Permalink
Fixed indentation problem
Browse files Browse the repository at this point in the history
  • Loading branch information
btompkins committed Feb 23, 2011
1 parent 1f9acf5 commit b920367
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fabfile.py
Expand Up @@ -370,10 +370,11 @@ def setup_website_as_upstream_server(domain_name, ip_address, reverse_proxy_ip):
def copy_git_website(domain_name, repository_uri, database_name, database_user, database_password,
database_host):
runcmd('mkdir /var/www/{domain}'.format(domain=domain_name))
upload_template('.\\nginx-app\\wp-config.php.txt',
'/var/www/{domain}/wp-config.php'.format(domain=domain_name),
use_sudo=True)
with cd('/var/www/{domain}'.format(domain=domain_name)):
runcmd('git clone {repo} .'.format(repo=repository_uri))
upload_template('.\\nginx-app\\wp-config.php.txt',
'/var/www/{domain}/wp-config.php'.format(domain=domain_name)', use_sudo=True)
sed('/var/www/{domain}/wp-config.php'.format(domain=domain_name),
'DATABASE_NAME', database_name, use_sudo=True)
sed('/var/www/{domain}/wp-config.php'.format(domain=domain_name),
Expand Down

0 comments on commit b920367

Please sign in to comment.