Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

adding note about how to do email on heroku

  • Loading branch information...
commit 5e215a2c43d06ba95e789e5d96ee88a222b549b4 1 parent 534050b
@kastner authored
Showing with 7 additions and 1 deletion.
  1. +6 −0 README.md
  2. +1 −1  clock.rb
View
6 README.md
@@ -89,6 +89,12 @@ Add these to the environment settings (either `.env`, or `heroku config:add`):
* `GMAIL_PASS` Gmail password
* `DROPPY_URL` Web address for the email to link to
+If you're doing this on Heroku, you then need to scale up the clock process:
+
+`heroku scale clock=1`
+
+It will warn you about billing your account. I'm not sure how much it will bill yet.
+
Debugging
---------
View
2  clock.rb
@@ -41,7 +41,7 @@
end
if new_files && ! new_files.empty?
- subject = "some New file#{"s" if new_files.count > 1} ready to download: #{new_files.join(", ")}"
+ subject = "New file#{"s" if new_files.count > 1} ready to download: #{new_files.join(", ")}"
body = "Get them here:"
new_files.each do |file|
body += "\n\t#{ENV["DROPPY_URL"]}/get/#{file}"
Please sign in to comment.
Something went wrong with that request. Please try again.