setup ES test environment during bin/setup (#6891)
This commit is contained in:
parent
fd75f70c06
commit
8fb1acd903
1 changed files with 1 additions and 0 deletions
|
|
@ -44,6 +44,7 @@ FileUtils.chdir APP_ROOT do
|
|||
|
||||
puts "\n== Preparing Elasticsearch =="
|
||||
system! 'bin/rails search:setup'
|
||||
system! 'RAILS_ENV="test" bin/rails search:setup'
|
||||
|
||||
puts "\n== Updating Data =="
|
||||
system! 'bin/rails data_updates:run'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue