This commit is contained in:
2025-10-20 15:20:04 -05:00
parent 28397facb6
commit 8eef868423

View File

@@ -91,7 +91,7 @@ namespace :live do
compose('exec', '-it', '--user', 'postgres', 'db', "bash -c 'createdb -U tryton #{args.database}'")
compose('restart', "live", compose: "compose.live.yml")
sleep(30)
compose('exec', 'live', "bash -c 'python3 demo/scripts/__main__.py -c .dev/trytond.cfg -d #{args.database}'")
compose('exec', 'live', "bash -c 'python3 demo/populate_scripts/__main__.py -c .dev/trytond.cfg -d #{args.database}'")
compose('restart', 'live', compose: "compose.live.yml")
else
puts "Falta el nombre de la base de datos"