2776: Added Keep services page to workbench (uses default layouts)
[arvados.git] / services / api / script / rake_test.sh
1 #! /bin/sh
2
3 # This script invokes `rake test' in a fresh Docker instance of the
4 # API server, e.g.:
5 #   docker run -t -i arvados/api /usr/src/arvados/services/api/script/rake_test.sh
6
7 /etc/init.d/postgresql start
8
9 export RAILS_ENV=test
10 cd /usr/src/arvados/services/api
11 cp config/environments/test.rb.example config/environments/test.rb
12 bundle exec rake db:setup
13 bundle exec rake test