File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def commit():
21
21
22
22
def pull ():
23
23
with cd (env .directory ):
24
- run ("git fetch origin" )
24
+ run ("https_proxy=http://proxy.hcg.gr:8080 git fetch origin" )
25
25
run ("git merge origin/master" )
26
26
print ("fetch / merge ok" )
27
27
@@ -31,12 +31,16 @@ def work():
31
31
with cd (env .directory ):
32
32
requirements_txt = "requirements/" + env .env + ".txt"
33
33
if os .stat (requirements_txt ).st_size > 0 :
34
- virtualenv ("pip install -r {0}" .format (requirements_txt ))
34
+ virtualenv (
35
+ "https_proxy=http://proxy.hcg.gr:8080 pip install -r {0}" .format (
36
+ requirements_txt
37
+ )
38
+ )
35
39
virtualenv ("python manage.py migrate" )
36
40
virtualenv ("python manage.py update_permissions" )
37
41
virtualenv ("python manage.py collectstatic --noinput" )
38
42
if env .env == "prod" :
39
- virtualenv ("python manage.py compres " )
43
+ virtualenv ("python manage.py compress " )
40
44
41
45
42
46
def touch_wsgi ():
You can’t perform that action at this time.
0 commit comments