Closed mcbloch closed 4 years ago
Is this a development or production Dockerfile?
At the moment only development. It's there atm to ensure it works in an isolated environment and not only on my pc.
Using the letter_opener
gem, you can now preview mails in development: they will be opened in the browser
I was also going to make barcodes non-transparent, but it seems that switching to the Barby gem automatically fixed this
Just checked CAS-login, this seems to work.
We do need the default_url_options
and :sendmail
delivery method (the partner mail has a link in it, and we need to know the base domain when sending the mail since the mail does not have the context of a Host header). Sendmail is the way to send mails on the server, since local SMTP does not work (yet?). @Silox probably had a reason to remove these config options though, what was it?
@redfast00 The upgrade replaced the files (so threw away the lines) and I was wondering if we needed them any longer on development as the mails locally seemed to work fine. I couldn't test on production if we needed those though.
Alright, then I think this PR is good to merge, what do you think @mcbloch?
De login-dev
knop werkt niet meer na het seeden. Het seeden importeert namelijk de zeus vereniging uit de dsa api en dat clasht met Club.find_or_create_by(internal_name: 'zeus', full_name: 'Zeus WPI', display_name: 'Zeus <3')
Validation failed: Internal name has already been taken
Todo: