fix
This commit is contained in:
2
Rakefile
2
Rakefile
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user