Updated fabfile.py
This commit is contained in:
parent
f0b9b9377f
commit
b510e54fc3
|
@ -1,16 +1,14 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
from __future__ import with_statement, print_function
|
from __future__ import with_statement, print_function
|
||||||
from os.path import dirname, abspath, join as join_path
|
|
||||||
from os import walk
|
|
||||||
import sys
|
|
||||||
from functools import wraps
|
from functools import wraps
|
||||||
from StringIO import StringIO
|
from os.path import dirname, abspath
|
||||||
|
import sys
|
||||||
|
|
||||||
from jinja2 import Environment, FileSystemLoader
|
|
||||||
from fabric.api import *
|
from fabric.api import *
|
||||||
from fabric.context_managers import settings, hide
|
from fabric.context_managers import settings, hide
|
||||||
from fabric.decorators import with_settings
|
from fabric.decorators import with_settings
|
||||||
from fabric.contrib.files import exists, upload_template
|
from fabric.contrib.files import exists
|
||||||
from fabric.colors import yellow, red, white, green, blue
|
from fabric.colors import yellow, red, white, green
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -22,7 +20,7 @@ env.LOCAL_PATH = dirname(abspath(__file__))
|
||||||
|
|
||||||
env.hosts = ['localhost', 'tristram.fmartingr.com']
|
env.hosts = ['localhost', 'tristram.fmartingr.com']
|
||||||
|
|
||||||
repository = 'https://github.com/fmartingr/fmartingr.com.git'
|
repository = 'https://gitlab.com/fmartingr/fmartingr.com.git'
|
||||||
deploy_to = '/var/www/fmartingr.com'
|
deploy_to = '/var/www/fmartingr.com'
|
||||||
deploy_user = 'fmartingrcom'
|
deploy_user = 'fmartingrcom'
|
||||||
app_name = 'fmartingrcom'
|
app_name = 'fmartingrcom'
|
||||||
|
|
Loading…
Reference in New Issue