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")
|
print_console("in db.generate")
|
||||||
db.generate()
|
db.generate()
|
||||||
|
print_console("ending db.generate")
|
||||||
|
|
||||||
print_console("in db.init")
|
# print_console("in db.init")
|
||||||
db.init()
|
# db.init()
|
||||||
|
|
||||||
|
|
||||||
@task
|
@task
|
||||||
|
|
@ -511,16 +512,16 @@ def media(source_branch):
|
||||||
user_src=configuration_src.project.user,
|
user_src=configuration_src.project.user,
|
||||||
host_src=configuration_src.project.host,
|
host_src=configuration_src.project.host,
|
||||||
path_src=dynamic_src,
|
path_src=dynamic_src,
|
||||||
user_dst=configuration_dst.project.user,
|
# user_dst=configuration_dst.project.user,
|
||||||
host_dst=configuration_dst.project.host,
|
# host_dst=configuration_dst.project.host,
|
||||||
path_dst=dynamic_dst,
|
path_dst=dynamic_dst,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
cmd_rsync = "rsync -pthrvz --rsh='ssh -p 22' " \
|
cmd_rsync = "rsync -pthrvz --rsh='ssh -p 22' " \
|
||||||
" {path_src} " \
|
" {path_src} " \
|
||||||
" {user_dst}@{host_dst}:{path_dst}".format(
|
" {user_dst}@{host_dst}:{path_dst}".format(
|
||||||
user_src=configuration_src.project.user,
|
# user_src=configuration_src.project.user,
|
||||||
host_src=configuration_src.project.host,
|
# host_src=configuration_src.project.host,
|
||||||
path_src=dynamic_src,
|
path_src=dynamic_src,
|
||||||
user_dst=configuration_dst.project.user,
|
user_dst=configuration_dst.project.user,
|
||||||
host_dst=configuration_dst.project.host,
|
host_dst=configuration_dst.project.host,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue