Se agrupan script para poblar informacion

This commit is contained in:
2025-10-20 13:10:37 -05:00
parent f4de6fad0d
commit 051ad8c2ca
7 changed files with 1 additions and 294 deletions

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/__main__.py -c .dev/trytond.cfg -d #{args.database}'")
compose('exec', 'live', "bash -c 'python3 demo/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"