removed database.init from deploy.bootstrap b/c the database was already getting initialized
This commit is contained in:
parent
286f149f08
commit
9106127a16
1 changed files with 7 additions and 6 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue