From b510e54fc3373295df7549a35a86cbaaf6e12363 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Mart=C3=ADn?= Date: Tue, 13 Oct 2015 22:30:05 +0200 Subject: [PATCH] Updated fabfile.py --- fabfile.py | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/fabfile.py b/fabfile.py index 70f3c66..1246e79 100644 --- a/fabfile.py +++ b/fabfile.py @@ -1,16 +1,14 @@ +# -*- coding: utf-8 -*- 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 StringIO import StringIO +from os.path import dirname, abspath +import sys -from jinja2 import Environment, FileSystemLoader from fabric.api import * from fabric.context_managers import settings, hide from fabric.decorators import with_settings -from fabric.contrib.files import exists, upload_template -from fabric.colors import yellow, red, white, green, blue +from fabric.contrib.files import exists +from fabric.colors import yellow, red, white, green # @@ -22,7 +20,7 @@ env.LOCAL_PATH = dirname(abspath(__file__)) 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_user = 'fmartingrcom' app_name = 'fmartingrcom'