3 # This script invokes `rake test' in a fresh Docker instance of the
5 # docker run -t -i arvados/api /usr/src/arvados/services/api/script/rake_test.sh
7 /etc/init.d/postgresql start
10 cd /usr/src/arvados/services/api
11 cp config/environments/test.rb.example config/environments/test.rb
12 bundle exec rake db:setup