From 9106127a16c0e219cecbb686efdb73ca6d98dcb2 Mon Sep 17 00:00:00 2001 From: ronnyabraham Date: Sun, 8 May 2022 12:41:56 +0300 Subject: [PATCH] removed database.init from deploy.bootstrap b/c the database was already getting initialized --- modules/deploy.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/modules/deploy.py b/modules/deploy.py index 98574c0..8da8c2a 100644 --- a/modules/deploy.py +++ b/modules/deploy.py @@ -199,9 +199,10 @@ def bootstrap(): print_console("in db.generate") db.generate() + print_console("ending db.generate") - print_console("in db.init") - db.init() + # print_console("in db.init") + # db.init() @task @@ -511,16 +512,16 @@ def media(source_branch): user_src=configuration_src.project.user, host_src=configuration_src.project.host, path_src=dynamic_src, - user_dst=configuration_dst.project.user, - host_dst=configuration_dst.project.host, + # user_dst=configuration_dst.project.user, + # host_dst=configuration_dst.project.host, path_dst=dynamic_dst, ) else: cmd_rsync = "rsync -pthrvz --rsh='ssh -p 22' " \ " {path_src} " \ " {user_dst}@{host_dst}:{path_dst}".format( - user_src=configuration_src.project.user, - host_src=configuration_src.project.host, + # user_src=configuration_src.project.user, + # host_src=configuration_src.project.host, path_src=dynamic_src, user_dst=configuration_dst.project.user, host_dst=configuration_dst.project.host,