Re: How to deploy app with sensitive config information?

2010-09-02 Thread Jeff Deville
The general way to set up config values is with heroku config:add NAME=VALUE  I 
have no idea what level of security that affords you that git would not, but 
that's all I know of.  (I'm far far from an expert here though). 


On Sep 1, 2010, at 10:38 AM, dnagir wrote:

 Hi,
 
 Deployment to Heroku is done as a Git push.
 For git I configure my app not to include any sensitive information so
 it will not appear anywhere.
 This includes email, payment gateway credentials, encryption key, etc.
 
 So how would I deploy that information together with the application
 without storing it in git?
 
 Cheers,
 Dmytrii.
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Heroku group.
 To post to this group, send email to her...@googlegroups.com.
 To unsubscribe from this group, send email to 
 heroku+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/heroku?hl=en.
 

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



git push heroku master CONNECTION REFUSED

2010-09-02 Thread @demetriusolsen
Two-hours later, the simplest command isn't working for me: git push
heroku master
Here's what I get in response:
ssh: connect to host heroku.com port 22: Connection refused
fatal: The remote end hung up unexpectedly

I've followed Heroku's documentation (Created a new SSH key, double-
checked to make sure my public key matches with what Heroku has, gem
uninstalled heroku and reinstalled it). Does anyone have a
suggestion?

The ONE that that I know I did differently was not use sudo when
installing heroku. I'm letting RVM manage my gems... could that be it?

What's strange about this is that I was able to use git push heroku
master a few weeks ago when I was trying to decide if I should use
Heroku to deploy my app. It worked then

Thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: How to deploy app with sensitive config information?

2010-09-02 Thread Hemal Kuntawala
Not sure on the resolution but I wouldn't mind knowing what you mean/how you
do:

For git I configure my app not to include any sensitive information so it
will not appear anywhere.

Ta.

On 2 September 2010 18:51, Jeff Deville jeffdevi...@gmail.com wrote:

 The general way to set up config values is with heroku config:add
 NAME=VALUE  I have no idea what level of security that affords you that git
 would not, but that's all I know of.  (I'm far far from an expert here
 though).


 On Sep 1, 2010, at 10:38 AM, dnagir wrote:

  Hi,
 
  Deployment to Heroku is done as a Git push.
  For git I configure my app not to include any sensitive information so
  it will not appear anywhere.
  This includes email, payment gateway credentials, encryption key, etc.
 
  So how would I deploy that information together with the application
  without storing it in git?
 
  Cheers,
  Dmytrii.
 
  --
  You received this message because you are subscribed to the Google Groups
 Heroku group.
  To post to this group, send email to her...@googlegroups.com.
  To unsubscribe from this group, send email to
 heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en.
 

 --
 You received this message because you are subscribed to the Google Groups
 Heroku group.
 To post to this group, send email to her...@googlegroups.com.
 To unsubscribe from this group, send email to
 heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: Calling all forks

2010-09-02 Thread chris
In this case, I'd use a cron job. Cache the output every hour for $5/
month (or every day for free.)

On Sep 1, 1:50 am, Gabriel ummo...@gmail.com wrote:
 This seems to be a somewhat common use case for Heroku:  I have a
 process that takes far too long to tie up a web request but doesn't
 happen often enough to warrant paying for a Worker.

 Right now I'm considering calling fork to handle this situation and I
 have two questions:

 1.  Will this work on Heroku?  That is: are there any specifics about
 the Heroku architecture that would prevent forks?

 2.  Is there a better way that doesn't involve having a Worker running
 all the time?  I've seen people mention that Workers can be spun up
 and deleted programmatically but I've yet to see what the API for
 doing so looks like.

 Thanks,

 Gabriel

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: How to deploy app with sensitive config information?

2010-09-02 Thread dnagir
 but I wouldn't mind knowing what you mean/how you
 do:

 For git I configure my app not to include any sensitive information so it
 will not appear anywhere.
For example, I add the database.yaml file to .gitignore and instead
store database.yaml.samle.

Of course if you get the code from Git for the first time you have to
rename database.yaml.sample to database.yaml and set proper
credentials.

(But for heroku deployments it is not that critical as you don't store
DB connection details in database.yaml anyway)


  The general way to set up config values is with heroku config:add
  NAME=VALUE  I have no idea what level of security that affords you that git
  would not, but that's all I know of.  (I'm far far from an expert here
  though).

Thanks a lot. It should do the job.
Related docs are here for others to save some Googling:
http://docs.heroku.com/config-vars

The heroku guys provide S3 credentials as an example (in the docs).
So I guess they realise that those are sensitive details and take
appropriate security measures.

Cheers,
Dima.
http://ApproachE.com

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Sequel and Heroku

2010-09-02 Thread Scott LaBounty
All,

Since all three lists helped me quite a bit with this one, I thought I'd let
everyone know about this post ...

http://steamcode.blogspot.com/2010/09/sequel-and-heroku.html

Iif you spot any issues,let me know so I can correct them and hopefully,
this will help others who need to do this.

Thanks all,

-- 
Scott
http://steamcode.blogspot.com/

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.