diff --git a/.travis.yml b/.travis.yml index 295807f..89ca83f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,4 +7,5 @@ services: - postgresql before_script: - cp config/database.yml.travis config/database.yml - - psql -c 'create database travis_ci_test;' -U postgres \ No newline at end of file + - psql -c 'create database travis_ci_test;' -U postgres + - bundle exec rails db:migrate RAILS_ENV=test diff --git a/config/environments/development.rb b/config/environments/development.rb index 9db5107..52c9d2a 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -64,4 +64,7 @@ Rails.application.configure do # Reload everything besides classes config.reload_classes_only_on_change = false + + # Allow console in private networks + config.web_console.whitelisted_ips = %w[10.0.0.0/8 172.16.0.0/12 192.168.0.0/16] end