Re: two heroku apps talking to same db

2010-10-05 Thread Keenan Brock
Hello Joel,

I believe the party line is to use web services.
It provides a much better extraction layer. But can be a little tricky.


Thought there was an example out there with CAS and single signon
Can't find it.


Does anyone on the list remembers the link to the single signon example?

--Keenan
On Oct 4, 2010, at 11:16 PM, Joel VanderWerf wrote:

 
 Is it possible for two apps on heroku to access the same database?
 
 -- 
 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.



Re: two heroku apps talking to same db

2010-10-05 Thread Joel VanderWerf

On 10/05/2010 11:42 AM, Keenan Brock wrote:

Hello Joel,

I believe the party line is to use web services.
It provides a much better extraction layer. But can be a little tricky.


Thought there was an example out there with CAS and single signon
Can't find it.


Does anyone on the list remembers the link to the single signon example?


Actually, the answer from heroku support is yes:

Question: If I develop two heroku apps, can they access a single 
database? The reason I ask is that we have a rails app and a sinatra 
app, and they need to share a postgres database. Would rather not do 
that by http!


Answer from heroku support: Yes, if you need to, you can. Every Heroku 
app gets a database provisioned by default, but it's possible for one 
app to use another app's database simply by copying the DATABASE_URL 
config var from one app to another.



--
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: two heroku apps talking to same db

2010-10-05 Thread Keenan Brock
That is great,

If you blog about your experience, could you send the link to the list?

--Keenan
On Oct 5, 2010, at 2:44 PM, Joel VanderWerf wrote:

 On 10/05/2010 11:42 AM, Keenan Brock wrote:
 Hello Joel,
 
 I believe the party line is to use web services.
 It provides a much better extraction layer. But can be a little tricky.
 
 
 Thought there was an example out there with CAS and single signon
 Can't find it.
 
 
 Does anyone on the list remembers the link to the single signon example?
 
 Actually, the answer from heroku support is yes:
 
 Question: If I develop two heroku apps, can they access a single database? 
 The reason I ask is that we have a rails app and a sinatra app, and they need 
 to share a postgres database. Would rather not do that by http!
 
 Answer from heroku support: Yes, if you need to, you can. Every Heroku app 
 gets a database provisioned by default, but it's possible for one app to use 
 another app's database simply by copying the DATABASE_URL config var from one 
 app to another.
 
 
 -- 
 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.