example mail
authorSam Saffron <sam.saffron@gmail.com>
Mon, 9 Dec 2013 03:09:47 +0000 (19:09 -0800)
committerSam Saffron <sam.saffron@gmail.com>
Mon, 9 Dec 2013 03:10:04 +0000 (19:10 -0800)
samples/web_only.yml

index 69a987ac725626f82109fd763b99e5b5dc1de2e6..5882a1722e4c3499baa720d3836fa4661f60c3d4 100644 (file)
@@ -54,3 +54,20 @@ hooks:
         cmd:
           - mkdir -p plugins
           - git clone https://github.com/discourse/docker_manager.git
+# mail is critical, setup here
+    # - replace:
+    #     filename: /var/www/discourse/config/environments/production.rb
+    #     from: /end/
+    #     direction: reverse
+    #     to: |
+    #       config.action_mailer.delivery_method = :smtp
+    #       config.action_mailer.smtp_settings = {
+    #         :address              => 'smtp.mandrillapp.com',
+    #         :port                 => 587,
+    #         :domain               => 'domain',
+    #         :user_name            => 'user@email.com',
+    #         :password             => 'pwd',
+    #         :authentication       => 'login',
+    #         :enable_starttls_auto => true
+    #       }
+    #       end