Get rid of vagrant

We are using Docker now instead.

Closes https://github.com/openSUSE/osem/issues/1213
This commit is contained in:
Ana María Martínez Gómez 2019-02-21 13:42:21 +01:00 committed by Ana María Martínez Gómez
parent 51f6ad6d14
commit 0aa49e9c64
6 changed files with 1 additions and 171 deletions

View file

@ -1,11 +1,7 @@
Osem::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# Allow the web console from the vagrant host ip
config.web_console.whitelisted_ips = '10.0.2.2'
# Use letter_opener_web for Vagrant (launchy won't work)
config.action_mailer.delivery_method = ENV['USER'] == 'vagrant' ? :letter_opener_web : :letter_opener
config.action_mailer.delivery_method = :letter_opener
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development

View file

@ -14,11 +14,6 @@ Osem::Application.routes.draw do
path: 'accounts'
end
# Use letter_opener_web to open mails in browser (e.g. necessary for Vagrant)
if Rails.env.development?
mount LetterOpenerWeb::Engine, at: "/letter_opener"
end
resources :users, except: [:new, :index, :create, :destroy] do
resources :openids, only: :destroy
end