mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Get rid of vagrant
We are using Docker now instead. Closes https://github.com/openSUSE/osem/issues/1213
This commit is contained in:
parent
51f6ad6d14
commit
0aa49e9c64
6 changed files with 1 additions and 171 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue