Update mail settings
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@ -3,8 +3,6 @@
|
|||||||
/config/database.yml
|
/config/database.yml
|
||||||
/config/mnemosyne.yml
|
/config/mnemosyne.yml
|
||||||
/config/secrets.yml
|
/config/secrets.yml
|
||||||
/config/sendmail.yml
|
|
||||||
/config/smtp.yml
|
|
||||||
/config/docker.yml*.erb
|
/config/docker.yml*.erb
|
||||||
/config/*.production.yml
|
/config/*.production.yml
|
||||||
/config/*.staging.yml
|
/config/*.staging.yml
|
||||||
|
@ -138,7 +138,7 @@ admin@example.org:admin
|
|||||||
```
|
```
|
||||||
- Get a local copy of the config files:
|
- Get a local copy of the config files:
|
||||||
```shell script
|
```shell script
|
||||||
for f in action_mailer.yml database.yml secrets.yml sendmail.yml smtp.yml code_ocean.yml docker.yml.erb mnemosyne.yml
|
for f in action_mailer.yml database.yml secrets.yml code_ocean.yml docker.yml.erb mnemosyne.yml
|
||||||
do
|
do
|
||||||
if [ ! -f config/$f ]
|
if [ ! -f config/$f ]
|
||||||
then
|
then
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
if CodeOcean::Application.config.action_mailer.delivery_method == :sendmail
|
|
||||||
CodeOcean::Application.config.action_mailer.sendmail_settings = CodeOcean::Config.new(:sendmail).read
|
|
||||||
end
|
|
@ -1,3 +0,0 @@
|
|||||||
if CodeOcean::Application.config.action_mailer.delivery_method == :smtp
|
|
||||||
CodeOcean::Application.config.action_mailer.sendmail_settings = CodeOcean::Config.new(:smtp).read
|
|
||||||
end
|
|
@ -1,11 +0,0 @@
|
|||||||
default: &default
|
|
||||||
arguments: CHANGE_ME
|
|
||||||
|
|
||||||
development:
|
|
||||||
<<: *default
|
|
||||||
|
|
||||||
production:
|
|
||||||
<<: *default
|
|
||||||
|
|
||||||
test:
|
|
||||||
<<: *default
|
|
@ -1,14 +0,0 @@
|
|||||||
default: &default
|
|
||||||
address: CHANGE_ME
|
|
||||||
password: CHANGE_ME
|
|
||||||
port: CHANGE_ME
|
|
||||||
user_name: CHANGE_ME
|
|
||||||
|
|
||||||
development:
|
|
||||||
<<: *default
|
|
||||||
|
|
||||||
production:
|
|
||||||
<<: *default
|
|
||||||
|
|
||||||
test:
|
|
||||||
<<: *default
|
|
Reference in New Issue
Block a user